Skip to content

Commit

Permalink
Refactor main.tf: Remove vpc_zone_identifier from autoscaling group c…
Browse files Browse the repository at this point in the history
…onfiguration
  • Loading branch information
adamlahbib committed Nov 16, 2024
1 parent ee20863 commit fea5fc9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ resource "aws_autoscaling_group" "eks_nodes" {
max_size = 3
min_size = 1

vpc_zone_identifier = [module.vpc.private_subnets[0]]

launch_template {
id = aws_launch_template.eks_launch_template.id
version = "$Latest"
Expand Down

0 comments on commit fea5fc9

Please sign in to comment.