Fixed kubeconfig output from terraform

This commit is contained in:
Marcus Noble 2020-05-02 11:11:59 +01:00
parent 3c39263857
commit 09549f20e2

View File

@ -7,7 +7,6 @@ resource "scaleway_k8s_cluster_beta" "k8s-cluster" {
ingress = "traefik"
feature_gates = [
"EphemeralContainers",
"HPAScaleToZero",
"TTLAfterFinished"
]
@ -34,5 +33,5 @@ output "wildcard_dns" {
}
output "kubeconfig" {
value = scaleway_k8s_cluster_beta.k8s-cluster.kubeconfig
value = scaleway_k8s_cluster_beta.k8s-cluster.kubeconfig[0].config_file
}