Skip to content

Commit

Permalink
Add authentication_mode to eks cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
marcincuber authored Jan 31, 2024
1 parent 357dbfe commit 25d1ec1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions terraform/eks-cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ resource "aws_eks_cluster" "cluster" {
}
}

access_config {
authentication_mode = "API_AND_CONFIG_MAP"
bootstrap_cluster_creator_admin_permissions = true
}

kubernetes_network_config {
service_ipv4_cidr = var.eks_service_ipv4_cidr
}
Expand Down

0 comments on commit 25d1ec1

Please sign in to comment.