Data Source k8s cluster `server` attribute
Closed this issue · 2 comments
Description
The docs say that the k8s cluster data source should have an server
attribute that should be the same as config[0].clusters[0].cluster.server
. But this functionality was never implemented.
cd7297c introduced the wrong documentation.
The source code seems to support it, but lacks the server variable assignment:
terraform-provider-ionoscloud/ionoscloud/data_source_k8s_cluster.go
Lines 416 to 418 in 5f13233
Expected behavior
Either remove the incomplete and never working implemention of the server
attribute and update the documentation accordingly or make the server
attribute work as described in the documentation.
Hello and thank you for raising this! I will take a look.
Either remove the incomplete and never working implemention of the
server
attribute and update the documentation accordingly or make theserver
attribute work as described in the documentation.
Seems the server
value parsed from the kubeconfig was never set in the terraform state, we'll add a fix for it.