-
Notifications
You must be signed in to change notification settings - Fork 2
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-cloudgov module #928
Conversation
Terraform Format and Style: success Show Plan
Pusher: @jskinne3, Action: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @jskinne3! This is good to go when we're ready to merge. Thank you for the clear write-up and reasoning behind what's going on, too!
Description
Upgrade terraform-cloudgov module from v0.7.1 to v0.9.1 in two locations:
bootstrap
modulesandbox
moduleThe same change will be made in deployed environments once it is proven in the above.
Reason
The terraform-cloudgov module has an open issue to remove the deprecated
recursive_delete
argument and replace it with more modern notation. We want to be prepared to make use of this change when it is made, particularly in thebootstrap
module, where we want to protect Terraform's state bucket. So let's validate the intermediate versions by upgrading now.Ideally we would use the
prevent_destroy
argument (which is used within thelifecycle
meta-argument) when we invoke @rahearn's module, rather than pass a flag to his module and ask the module to do it. But, Terraform only allows thelifecycle
meta-argument in a resource definition, not a module.