Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyblasczyk committed Oct 10, 2024
1 parent a92aa79 commit 6e19e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/app_eks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module "eks" {
}

node_groups = {
for subnet in data.aws_subnet.private : regex(".*[[:digit:]]([[:alpha:]])", subnet.availability_zone)[0] => {
for idx, subnet in data.aws_subnet.private : "ng-${idx}" => {
subnets = [subnet.id]
desired_capacity = var.min_nodes
max_capacity = var.max_nodes
Expand Down

0 comments on commit 6e19e7c

Please sign in to comment.