Skip to content

Commit

Permalink
Update eks auth api_version to v1beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
vladbat00 committed Jan 5, 2023
1 parent 089918e commit 6bbbc0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand All @@ -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"
}
Expand Down

0 comments on commit 6bbbc0c

Please sign in to comment.