File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ module "vpc" {
18
18
19
19
cidr = " 10.1.0.0/16"
20
20
21
- azs = data. aws_availability_zones . available . names
21
+ azs = [ data . aws_availability_zones . available . names [ 0 ], data . aws_availability_zones . available . names [ 1 ]]
22
22
private_subnets = [" 10.1.1.0/24" , " 10.1.2.0/24" ]
23
23
public_subnets = [" 10.1.11.0/24" , " 10.1.12.0/24" ]
24
24
25
- enable_nat_gateway = false # this is faster, but should be " true" for real
25
+ enable_nat_gateway = true
26
26
27
27
tags = {
28
28
Environment = local.environment
@@ -86,9 +86,9 @@ module "this" {
86
86
asg_name = local. ec2_resources_name
87
87
vpc_zone_identifier = module. vpc . private_subnets
88
88
health_check_type = " EC2"
89
- min_size = 0
90
- max_size = 1
91
- desired_capacity = 0
89
+ min_size = 1
90
+ max_size = 2
91
+ desired_capacity = 1
92
92
wait_for_capacity_timeout = 0
93
93
94
94
tags = [
You can’t perform that action at this time.
0 commit comments