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

container: fix missing updates for google_container_cluster.node_config subfields #8522

Conversation

modular-magician
Copy link
Collaborator

This resolves an issue where many subfields of node_config in a cluster (which affects the default node-pool "default-pool" when remove_default_node_pool is not set to false) don't support updates properly, and also allows 3 subfields which had been previously set to force recreation of the default node pool (because updates were non-functional) to be updated in-place.

Some acceptance tests are added, and some existing tests have been adjusted to confirm that the behavior is the same between google_container_cluster.node_config and google_container_node_pool.node_config.

Fixes hashicorp/terraform-provider-google#19225
Fixes hashicorp/terraform-provider-google#18208
Fixes hashicorp/terraform-provider-google#16054
Fixes hashicorp/terraform-provider-google#13872

Possible fix for hashicorp/terraform-provider-google#17522 roaks3: This helps but I don't think it's a fix per se
Partial / possible fix for hashicorp/terraform-provider-google#12966 roaks3: Agreed, might fix, but we shouldn't close it yet

Followup to #11826 where the code used by the regular node pool update code was broken out.

Release Note Template for Downstream PRs (will be copied)

container: fixed missing in-place updates for some `google_container_cluster.node_config` subfields
container: added in-place update support for `labels`, `resource_manager_tags` and `workload_metadata_config` in `google_container_cluster.node_config` 

References

See above for some other issues that I believe may be fully or partially resolved by this.

b/361634104

Derived from GoogleCloudPlatform/magic-modules#12014

…fig` subfields (#12014)

[upstream:34dd74df5c9291629ca1b215636294ca56aaa6ee]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit 7c2e778 into hashicorp:main Oct 25, 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
1 participant