Skip to content

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

Merged
bryantbiggs merged 1 commit into
terraform-aws-modules:masterfrom
thomasplarsson:fix_create_before_destroy_parameter_groups
Feb 6, 2023
Merged

fix: Use create_before_destroy lifecycle on parameter groups to support major version upgrades#354
bryantbiggs merged 1 commit into
terraform-aws-modules:masterfrom
thomasplarsson:fix_create_before_destroy_parameter_groups

Conversation

@thomasplarsson

Copy link
Copy Markdown
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
Copy Markdown
Member

This PR is included in version 7.6.1 🎉

@github-actions

Copy link
Copy Markdown

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