Skip to content

Commit 0c05999

Browse files
Update main.tf
1 parent 4312296 commit 0c05999

File tree

1 file changed

+1
-6
lines changed
  • examples/eks/eks_cluster_webshop

1 file changed

+1
-6
lines changed

examples/eks/eks_cluster_webshop/main.tf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,13 @@ provider "castai" {
1515
api_token = var.castai_api_token
1616
}
1717

18-
provider "aws" {
19-
region = var.cluster_region
20-
access_key = var.aws_access_key_id
21-
secret_key = var.aws_secret_access_key
22-
}
23-
2418
provider "kubernetes" {
2519
host = data.aws_eks_cluster.eks.endpoint
2620
cluster_ca_certificate = base64decode(data.aws_eks_cluster.eks.certificate_authority[0].data)
2721
token = data.aws_eks_cluster_auth.eks.token
2822
}
2923

24+
3025
provider "kubectl" {
3126
host = data.aws_eks_cluster.eks.endpoint
3227
cluster_ca_certificate = base64decode(data.aws_eks_cluster.eks.certificate_authority[0].data)

0 commit comments

Comments
 (0)