File tree 2 files changed +2
-2
lines changed
examples/complete-vpc-with-vpn
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -91,4 +91,4 @@ module "vpc" {
91
91
flow_log_cloudwatch_log_group_skip_destroy = true
92
92
flow_log_cloudwatch_log_group_retention_in_days = 90
93
93
flow_log_cloudwatch_log_group_kms_key_arn = module. kms . key_arn # Enter your kms key arn
94
- }
94
+ }
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ module "vpc" {
64
64
version = " 5.2.0"
65
65
name = format (" %s-%s-vpc" , var. environment , var. name )
66
66
cidr = var. vpc_cidr # CIDR FOR VPC
67
- azs = [ for n in range ( 0 , local . azs ) : data . aws_availability_zones . available . names [ n ]]
67
+ azs = var . availability_zones
68
68
use_ipam_pool = var. ipam_enabled ? true : false
69
69
ipv4_ipam_pool_id = var. ipam_enabled && var. create_ipam_pool ? aws_vpc_ipam_pool. ipam_pool [0 ]. id : null
70
70
ipv4_netmask_length = var. ipam_enabled ? var. ipv4_netmask_length : null
You can’t perform that action at this time.
0 commit comments