terraform-google-kubernetes-engine
terraform-google-kubernetes-engine copied to clipboard
Selecting a control plane/node version or constraint with a channel
TL;DR
https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/issues/1279 added the capability to select a specific version when channels are not in use (the special UNSPECIFIED designator).
I would like the ability to either describe a version constraint, or to select the newest version of the given channel (instead of just the default version of a given channel), as we can do in the UI and as indicated in this comment: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/issues/1279#issuecomment-1167584257
Terraform Resources
No response
Detailed design
No response
Additional information
The UI selection for the Regular release channel looks like this:

When creating a cluster using this submodule, the default version will be selected, and GKE will track this version according to the maintenance policy. We can also manually upgrade our cluster.
However, there is no way to indicate that we would like to upgrade to the newest supported version of a given release channel, rather than simply using the default.
Thanks for the FR @jawnsy. Happy to review a PR too if you have bandwidth.
Just stumbled across this old issue today, looks like it's a long-standing request: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/issues/675
The other issue refers to the issue tracker: https://issuetracker.google.com/issues/235121270