Skip to content

Commit 05fe38c

Browse files
Update data.tf
1 parent b9821e9 commit 05fe38c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

terraform/eks_nodegroup/data.tf

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ data "aws_subnets" "private_subnets" {
33
name = "vpc-id"
44
values = [module.vpc.vpc_id]
55
}
6-
filter {
7-
name = "availability-zone"
8-
values = ["us-east-1b", "us-east-1c"] # Replace with your cluster AZs
9-
}
106
filter {
117
name = "tag:Name"
128
values = ["*private*"] # This matches all subnets with a Name tag
@@ -22,4 +18,4 @@ data "aws_subnets" "public_subnets" {
2218
name = "tag:Name"
2319
values = ["*public*"] # This matches all subnets with a Name tag
2420
}
25-
}
21+
}

0 commit comments

Comments
 (0)