-
Notifications
You must be signed in to change notification settings - Fork 8
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
Upgrade terraform and aws provider to latest possible #21
Closed
Commits on Sep 29, 2023
-
Problem: we'd like to use latest tf version, but the tf state uses 0.11 Solution: go back in time to tf 0.12.29 and apply `terraform 0.12upgrade` see https://developer.hashicorp.com/terraform/language/v1.1.x/upgrade-guides/0-12
Configuration menu - View commit details
-
Copy full SHA for 3c517aa - Browse repository at this point
Copy the full SHA 3c517aaView commit details -
Problem: we'd like to use latest tf version, but the tf state uses 0.12 Solution: go back in time to tf 0.13.7 and apply `terraform 0.13upgrade` https://developer.hashicorp.com/terraform/language/v1.1.x/upgrade-guides/0-13 https://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/version-3-upgrade#domain_validation_options-changed-from-list-to-set Meanwhile a small change was detected, but following the suggestion `terraform state mv 'aws_route53_record.cert_validation[0]' 'aws_route53_record.cert_validation["ghc.dev"]'` there was no change
Configuration menu - View commit details
-
Copy full SHA for ecdb6b1 - Browse repository at this point
Copy the full SHA ecdb6b1View commit details -
Problem: we'd like to use latest tf version, but the tf state uses 0.14 Solution: go back in time to tf 0.15.5, run terraform plan, fix incompatilbities, terraform apply
Configuration menu - View commit details
-
Copy full SHA for b5a8e59 - Browse repository at this point
Copy the full SHA b5a8e59View commit details -
Problem: we would like to use the latest version from AWS provider, but there were some deprecated attributes Solution: upgrade AWS provider to the latest 3.xx and adjust resources
Configuration menu - View commit details
-
Copy full SHA for 4ad8eb0 - Browse repository at this point
Copy the full SHA 4ad8eb0View commit details -
Problem: we would like to use the latest version from AWS provider, but there were attributes changes during the years Solution: upgrade AWS provider to the latest 4.xx and adjust resources
Configuration menu - View commit details
-
Copy full SHA for 1b79b68 - Browse repository at this point
Copy the full SHA 1b79b68View commit details -
Problem: we would like to use the latest version from AWS provider Solution: upgrade AWS provider to the latest 5.xx
Configuration menu - View commit details
-
Copy full SHA for 9631f47 - Browse repository at this point
Copy the full SHA 9631f47View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3c76d6 - Browse repository at this point
Copy the full SHA b3c76d6View commit details -
Problem: we would like to use latest tf version Solution: update flake nixpkgs and tf version
Configuration menu - View commit details
-
Copy full SHA for 93f0302 - Browse repository at this point
Copy the full SHA 93f0302View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.