eddycharly / terraform-provider-kops

Brings kOps into terraform in a fully managed way
Apache License 2.0
85 stars 20 forks source link

kops_cluster_updater: add instance group filtering to rolling updates #1114

Closed partcyborg closed 3 months ago

partcyborg commented 4 months ago

Adds the instance_groups attribute to rolling_update_options that, if set, only runs the rolling update on the specified IGs.

Equivalent to running kops rolling-update cluster --instance-groups=<ig1>,<ig2>,... --yes

Closes #1113

partcyborg commented 3 months ago

@eddycharly any chance I could get a review? This functionality is the last missing piece in migrating management of our 11 kops clusters into Terraform. Otherwise we will have to run kops rolling-update cluster --instance-group ... in a null_resource which is something I would very much rather avoid.

partcyborg commented 3 months ago

Ahh, I see you have moved on from supporting the kops provider. I will close this MR and open it with the new provider