terraform-google-modules / terraform-example-foundation

Shows how the CFT modules can be composed to build a secure cloud foundation
https://cloud.google.com/architecture/security-foundations
Apache License 2.0
1.18k stars 701 forks source link

Improve README for troubleshooting "project does not exist" #1195

Open eeaton opened 2 months ago

eeaton commented 2 months ago

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

n/a

Detailed design

n/a

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

eeaton commented 1 month 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.