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

Apply maintenance policy updates after upgrades so validation on maintenance policy uses the new versions. #8922

Conversation

modular-magician
Copy link
Collaborator

Switch the ordering of updates so maintenance policy updates get applied after upgrades. This means that validation on maintenance exclusions will use the new version as opposed to the old version which means you can upgrade to a new version and set an exclusion until end of support for the new version in one terraform apply command.

Fixes hashicorp/terraform-provider-google#20556

Release note:

container: changed `google_container_cluster` to apply maintenance policy updates after upgrades during cluster update

Derived from GoogleCloudPlatform/magic-modules#12569

…tenance policy uses the new versions. (#12569)

[upstream:81de2e099caee29e40283e5eff4770d8ca90979c]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician requested a review from a team as a code owner December 16, 2024 22:09
@modular-magician modular-magician merged commit ce43676 into hashicorp:main Dec 16, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider update maintenancy_policy after cluster version update
1 participant