Skip to content

Commit

Permalink
Remove unnecessary resources.
Browse files Browse the repository at this point in the history
  • Loading branch information
musa-asad committed Dec 13, 2024
1 parent e6b5faa commit 17657f0
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions terraform/eks/e2e/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,4 @@

provider "aws" {
region = var.region
}

provider "kubernetes" {
exec {
api_version = "client.authentication.k8s.io/v1beta1"
command = "aws"
args = ["eks", "get-token", "--cluster-name", aws_eks_cluster.this.name]
}
host = aws_eks_cluster.this.endpoint
cluster_ca_certificate = base64decode(aws_eks_cluster.this.certificate_authority.0.data)
token = data.aws_eks_cluster_auth.this.token
}

0 comments on commit 17657f0

Please sign in to comment.