Skip to content

Commit 9760035

Browse files
committed
udated tf
1 parent 3d284ca commit 9760035

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

challenge5/main.tf

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ module "eks" {
101101
version = "~> 21.0"
102102

103103

104-
cluster_name = "mycluster"
104+
name = "mycluster"
105+
kubernetes_version = "1.33"
105106
enable_cluster_creator_admin_permissions = true
106107

107108
eks_managed_node_groups = {
@@ -113,7 +114,7 @@ module "eks" {
113114
}
114115
}
115116

116-
117-
vpc_id = aws_vpc.main.id
118-
subnet_ids = [aws_subnet.subnet1.id, aws_subnet.subnet2.id]
117+
vpc_id = aws_vpc.main.id
118+
subnet_ids = [aws_subnet.subnet1.id, aws_subnet.subnet2.id]
119+
control_plane_subnet_ids = [aws_subnet.subnet1.id]
119120
}

0 commit comments

Comments
 (0)