Open eeaton opened 2 months ago
As I'm cleaning up the backlog of issues, I've found a few issues around this same idea. I'll close a few as duplicates and keep the single issue open to track work.
project does not exist
error, but similar as an edge case that happens when terraform fails midway through the apply state)
TL;DR
Improve troubleshooting guidance in the readme for errors related to a project ID stored in terraform state when the GCP project doesn't exist. This is particularly common when a previous run failed due to project quota issues.
Example of somebody getting stuck, and detailed description of the fix, at: https://github.com/terraform-google-modules/terraform-example-foundation/issues/1187 https://github.com/terraform-google-modules/terraform-example-foundation/issues/488#issuecomment-973234938
Terraform Resources
Detailed design
Additional information
See also https://github.com/terraform-google-modules/terraform-example-foundation/issues/451
Common scenarios where the build can fail during tf apply after passing terraform validate