diff --git a/docs/index.md b/docs/index.md index 4f0ffc107..8f094cbe0 100644 --- a/docs/index.md +++ b/docs/index.md @@ -130,7 +130,7 @@ provider "helm" { kubernetes = { host = var.cluster_endpoint cluster_ca_certificate = base64decode(var.cluster_ca_cert) - exec { + exec = { api_version = "client.authentication.k8s.io/v1beta1" args = ["eks", "get-token", "--cluster-name", var.cluster_name] command = "aws" @@ -148,7 +148,7 @@ provider "helm" { token = data.google_client_config.provider.access_token cluster_ca_certificate = base64decode( data.google_container_cluster.my_cluster.master_auth[0].cluster_ca_certificate,) - exec { + exec = { api_version = "client.authentication.k8s.io/v1beta1" command = "gke-gcloud-auth-plugin" }