terraform-google-modules / terraform-google-jenkins

Creates a Compute Engine instance running Jenkins
https://registry.terraform.io/modules/terraform-google-modules/jenkins/google
Apache License 2.0
31 stars 69 forks source link

terraform apply would result in infinite loop #16

Closed omazin closed 4 years ago

omazin commented 4 years ago

GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/credentials.json terraform apply would result in infinite loop https://github.com/terraform-google-modules/terraform-google-jenkins/blob/master/scripts/wait-for-jenkins.sh#L26-L31 because the wait-for-jenkins script doesn't pick up the GOOGLE_APPLICATION_CREDENTIALS var.