Skip to content

Commit

Permalink
Update eks_cluster.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
janibashamd authored Nov 27, 2024
1 parent 82983dc commit 55b81a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/eks-cluster/eks_cluster.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# Create EKS cluster and node groups
resource "aws_eks_cluster" "eks-tf" {

Expand Down Expand Up @@ -26,6 +25,7 @@ resource "aws_eks_node_group" "private-node-group-1-tf" {
node_role_arn = aws_iam_role.workernodes.arn
subnet_ids = var.skip_private_subnet_creation ? [for i in aws_subnet.eks-external: i.id] : [for i in aws_subnet.eks-internal: i.id]
instance_types = ["t3.xlarge"]
disk_size = 30

scaling_config {
desired_size = var.desired_size
Expand Down

0 comments on commit 55b81a1

Please sign in to comment.