Skip to content

Commit

Permalink
Merge pull request #23 from Ajay-sops/main
Browse files Browse the repository at this point in the history
fixed az issue
  • Loading branch information
Ajay-sops authored Apr 1, 2024
2 parents 1bd9028 + a8372a2 commit a347d35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/complete-vpc-with-vpn/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ module "vpc" {
flow_log_cloudwatch_log_group_skip_destroy = true
flow_log_cloudwatch_log_group_retention_in_days = 90
flow_log_cloudwatch_log_group_kms_key_arn = module.kms.key_arn #Enter your kms key arn
}
}
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module "vpc" {
version = "5.2.0"
name = format("%s-%s-vpc", var.environment, var.name)
cidr = var.vpc_cidr # CIDR FOR VPC
azs = [for n in range(0, local.azs) : data.aws_availability_zones.available.names[n]]
azs = var.availability_zones
use_ipam_pool = var.ipam_enabled ? true : false
ipv4_ipam_pool_id = var.ipam_enabled && var.create_ipam_pool ? aws_vpc_ipam_pool.ipam_pool[0].id : null
ipv4_netmask_length = var.ipam_enabled ? var.ipv4_netmask_length : null
Expand Down

0 comments on commit a347d35

Please sign in to comment.