-
Notifications
You must be signed in to change notification settings - Fork 725
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
1-org tf plan check step 9 requires a 0-bootstrap plan check on backend validation errors - due to terraform 1.3.0 (docker) and 1.7.4 (console) mismatch - may require console terraform downgrade before starting deployment and creating the state file #1149
Comments
1-org tf plan check step 9 requires a 0-bootstrap plan check on backend validation errors - due to terraform 1.3.0 (docker) and 1.7.4 (console) mismatch - may require console terraform downgrade before starting deployment |
see step 9 in main jira |
1-org step 9 terraform version mismatch mitigationI was hoping to avoid a terraform downgrade until we get into refactoring but it looks like a 1.7.4 to 1.3.0 TF downgrade is required before creating the state file - or we get into a situation where the cloud build triggered plan running 1.3.0 cannot reconcile with the state file created in the gcp console under 1.7.4. |
TF Versions
GCP console as of 202403 is 1.7.4
|
for change tracking post terraform 1.3.0 follow |
Update: should have followed the warning around 1.3.0 in Note: Make sure that you use version 1.3.0 of Terraform throughout this series. Otherwise, you might experience Terraform state snapshot lock errors. |
Terraform local downgrade procedure - OSX (watch the sh line endings) - do windows 11 as wellget 1.3
|
The validation script needs to be updated
change
Note we can go to 1.3.7 - on a minor version but 1.4+ is untested |
TL;DR
see related
#1141
raised for readme adjustments #1151
step 9 of https://github.com/terraform-google-modules/terraform-example-foundation/blob/master/1-org/README.md#deploying-with-cloud-build
1-org - step 9 checking tf plan issues - was due to bootstrap
gcp-org - plan
same issue for gcp-bootstrap
Expected behavior
No response
Observed behavior
No response
Terraform Configuration
Terraform Version
Additional information
No response
The text was updated successfully, but these errors were encountered: