Skip to content

Commit 2982944

Browse files
committed
remove beta from api_version for aws auth call
1 parent 835bf8f commit 2982944

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

terraform/aws/aws-eks-operator/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ provider "kubernetes" {
3131
cluster_ca_certificate = base64decode(module.eks.cluster_certificate_authority_data)
3232

3333
exec {
34-
api_version = "client.authentication.k8s.io/v1beta1"
34+
api_version = "client.authentication.k8s.io/v1"
3535
command = "aws"
3636
args = ["eks", "get-token", "--cluster-name", module.eks.cluster_name]
3737
}
@@ -44,7 +44,7 @@ provider "helm" {
4444
cluster_ca_certificate = base64decode(module.eks.cluster_certificate_authority_data)
4545

4646
exec = {
47-
api_version = "client.authentication.k8s.io/v1beta1"
47+
api_version = "client.authentication.k8s.io/v1"
4848
command = "aws"
4949
args = ["eks", "get-token", "--cluster-name", module.eks.cluster_name]
5050
}

0 commit comments

Comments
 (0)