Closed mromascanu123 closed 3 months ago
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.
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
Additional information
No response