AK
provisioner "local-exec" {
command = "echo 'digitalocean_kubernetes_cluster.k8s_cluster.kube_config[0].raw_config' > pathexpand(var.kubeconfig_path) "
}
Size: a a a
AK
provisioner "local-exec" {
command = "echo 'digitalocean_kubernetes_cluster.k8s_cluster.kube_config[0].raw_config' > pathexpand(var.kubeconfig_path) "
}
SM
AK
SM
AK
AK
AK
SM
SM
AK
terraform output kubeconfig > ~/.kube/config
и используешь.SM
SM
ac
ac
ac
ac
ac
ac