Skip to content
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

fix: Use create_before_destroy lifecycle on parameter groups to support major version upgrades #354

Conversation

thomasplarsson
Copy link
Contributor

Description

Use the create_before_destroy lifecycle setting for the parameter groups so that major version updates are possible.

Motivation and Context

It enables major version upgrades.
It fixes: #353

Breaking Changes

No breaking changes.

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

@bryantbiggs bryantbiggs changed the title fix: Use create_before_destroy lifecycle on parameter groups to support major version upgrades #353 fix: Use create_before_destroy lifecycle on parameter groups to support major version upgrades Feb 6, 2023
@bryantbiggs bryantbiggs merged commit 97c417a into terraform-aws-modules:master Feb 6, 2023
antonbabenko pushed a commit that referenced this pull request Feb 6, 2023
### [7.6.1](v7.6.0...v7.6.1) (2023-02-06)

### Bug Fixes

* Use `create_before_destroy` lifecycle on parameter groups to support major version upgrades ([#354](#354)) ([97c417a](97c417a))
@antonbabenko
Copy link
Member

This PR is included in version 7.6.1 🎉

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrading major version fails on old parameter groups being destroyed before new are created.
3 participants