terraform-provider-tencentcloud icon indicating copy to clipboard operation
terraform-provider-tencentcloud copied to clipboard

How to get the latest version of Kubernetes when using the resource `tencentcloud_kubernetes_cluster`

Open yuyicai opened this issue 2 years ago • 3 comments

https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/latest/docs/resources/kubernetes_cluster#cluster_version

The default value of cluster_version is 1.10.5.
I want to get the latest version by data sources:
image

yuyicai avatar Mar 09 '22 07:03 yuyicai

Hi @yuyicai There is an API DescribeVersions can query the version list but our provider haven't support as datasource yet. We will consider this impletement if needed.

Kagashino avatar Apr 13 '22 06:04 Kagashino

Hi @yuyicai There is an API DescribeVersions can query the version list but our provider haven't support as datasource yet. We will consider this impletement if needed.

It is very necessary to get the K8s version from the data source, because the default version is not latest
I can open a pr for this feature

yuyicai avatar Apr 13 '22 07:04 yuyicai

Hi @yuyicai There is an API DescribeVersions can query the version list but our provider haven't support as datasource yet. We will consider this impletement if needed.

It is very necessary to get the K8s version from the data source, because the default version is not latest I can open a pr for this feature

Looking forward to your contribution, it is helpful to extending provider feature and improving issue feedback effectiveness.

Kagashino avatar Apr 13 '22 07:04 Kagashino