From 6bbbc0cf033217c45d0740a4abb8930b2bf94755 Mon Sep 17 00:00:00 2001 From: mvlabat Date: Fri, 6 Jan 2023 00:56:02 +0200 Subject: [PATCH] Update eks auth api_version to v1beta1 --- module.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module.tf b/module.tf index d7a4e95..90128bf 100644 --- a/module.tf +++ b/module.tf @@ -86,7 +86,7 @@ provider "helm" { host = data.aws_eks_cluster.current.endpoint cluster_ca_certificate = base64decode(data.aws_eks_cluster.current.certificate_authority[0].data) exec { - api_version = "client.authentication.k8s.io/v1alpha1" + api_version = "client.authentication.k8s.io/v1beta1" args = ["eks", "get-token", "--cluster-name", var.cluster_name] command = "aws" } @@ -97,7 +97,7 @@ provider "kubernetes" { host = data.aws_eks_cluster.current.endpoint cluster_ca_certificate = base64decode(data.aws_eks_cluster.current.certificate_authority[0].data) exec { - api_version = "client.authentication.k8s.io/v1alpha1" + api_version = "client.authentication.k8s.io/v1beta1" args = ["eks", "get-token", "--cluster-name", var.cluster_name] command = "aws" }