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(node_pools): Update Variants: Add recreate for secondary_boot_disk and local_ssd_ephemeral_count (beta) #2139

Conversation

zepellin
Copy link
Contributor

@zepellin zepellin commented Oct 15, 2024

Code in this PR forces re-creation of node pools with changes in secondary_boot_disk and local_ssd_ephemeral_count (for beta variants). Because of these are currently not in random_id.name keepers, the random suffix (and the entire node pool name) remains the same on updating these variables and replacing node pool resource results in resource - <node_pool_path> - already exists error.

Both of these parameters require node pool re-creation as per TF spec:

@zepellin zepellin requested review from ericyz, gtsorbo and a team as code owners October 15, 2024 10:32
@zepellin zepellin changed the title Update Variants: Add recreate for secondary_boot_disk and local_ssd_ephemeral_count (beta) fix(node_pools): Update Variants: Add recreate for secondary_boot_disk and local_ssd_ephemeral_count (beta) Oct 15, 2024
@apeabody
Copy link
Collaborator

/gcbrun

Copy link
Collaborator

@apeabody apeabody left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution @zepellin!

@apeabody apeabody merged commit 66231d5 into terraform-google-modules:master Oct 15, 2024
4 checks passed
@zepellin zepellin deleted the np-secondary-boot-disks-recreate-on-update-variant branch October 16, 2024 07:18
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.

2 participants