terraform-google-modules / terraform-google-kubernetes-engine

Configures opinionated GKE clusters
https://registry.terraform.io/modules/terraform-google-modules/kubernetes-engine/google
Apache License 2.0
1.14k stars 1.17k forks source link

Pin Kubernetes version #996

Closed datacabinet closed 3 years ago

datacabinet commented 3 years ago

Hi , Is there a way to pin Kubernetes version in the latest GKE terraform provider? We could do it before in earlier versions of the provider but now it only provides us specifying the minimum version . Is it hard to just keep updating and testing our whole stack without even knowing when terraform would give a new version of kubernetes.

morgante commented 3 years ago

I'm not entirely sure what you're referring to. For using this module, you can set the kubernetes_version to a specific version.

pankajkumar229 commented 3 years ago

It is not documented here: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster

morgante commented 3 years ago

That is the reference documentation for the provider resource. You are commenting on the module repo.

Please learn about the difference between modules and providers/resources. They are not the same.