-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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: refactor node_config
node pool update
#11826
base: main
Are you sure you want to change the base?
container: refactor node_config
node pool update
#11826
Conversation
5486b3d
to
8e3c116
Compare
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @NickElliot, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
nodePoolInfo.project, | ||
nodePoolInfo.location, | ||
"updating GKE node pool disk_size_gb/disk_type/machine_type/storage_pools", userAgent, | ||
timeout) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of opportunity to DRY up these parts with a function at some point too, but trying to keep it pretty self-contained here for now.
This sets the stage for consolidating the logic for updating nodepools between the `container_cluster` and `container_node_pool` resources, by creating a new `nodePoolNodeConfigUpdate()` function. Part of hashicorp/terraform-provider-google#19225
8e3c116
to
d467fd7
Compare
node_config
node pool updatenode_config
node pool update
This sets the stage for consolidating the logic for updating nodepools between the
container_cluster
andcontainer_node_pool
resources, by creating a newnodePoolNodeConfigUpdate()
function.Part of hashicorp/terraform-provider-google#19225
Release Note Template for Downstream PRs (will be copied)