GCP Iglu Server Health Checks Failing

Ah, right. OK, so the line endings of the .tf file itself shouldn’t matter, but the template file that it builds from probably do.

So you probably want at least:

  • dos2unix .terraform/modules/iglu_server.service/templates/startup-script.sh.tmpl
  • dos2unix .terraform/modules/iglu_server/templates/startup-script.sh.tmpl
  • dos2unix .terraform/modules/iglu_server.telemetry/templates/user-data.sh.tmpl
  • dos2unix .terraform/modules/iglu_server/templates/config.hocon.tmpl
  • dos2unix .terraform/modules/iglu_server.telemetry/templates/gcp_ubuntu_20_04.sh.tmpl

after you have done terraform init, and then do another terraform apply to update the userdata and try again.

2 Likes