-
Notifications
You must be signed in to change notification settings - Fork 695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sections "Run Terraform locally" refer to CLOUD_BUILD_PROJECT_ID which does not exist #1168
Labels
bug
Something isn't working
Comments
Agree that this is a poor experience, there are a few issues open already to track improving/merging/aligning the directions for each of the deployment methods so I'll close this issue, but it's on the backlog to improve. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TL;DR
When running locally w/o CB, Jenkins, TFC, etc there is no cloudbuild project. We have just a seed project and a "dummy" ci-cd project, unused but created anyway to avoid fixing broken code assuming it should exist even when deploying locally
Expected behavior
The command, if required and if the result pertinent, should succeed. Otherwise remove it from the readme's or change it providing an existing project id
Observed behavior
Subdjacent command fails:
gcloud beta terraform vet "${tf_file}.json" --policy-library="${policy_file_path}" --project="${project_id}"
./tf-wrapper.sh validate production$(pwd)/../policy-library $ {CLOUD_BUILD_PROJECT_ID}
ERROR: (gcloud.beta.terraform.vet) The project property is set to the empty string, which is invalid.
Terraform Configuration
Terraform Version
Terraform v1.6.0 on linux_amd64 Your version of Terraform is out of date! The latest version is 1.7.5. You can update by downloading from https://www.terraform.io/downloads.html
Additional information
No response
The text was updated successfully, but these errors were encountered: