You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# can be changed to variable in case we need multiple VPCs per account
name = var.name
# unique & used availability_zones
# use sorting to keep array stable
availability_zones_with_nat = sort(distinct([for key, value in var.configuration.subnets : value.availability_zone if value.is_provisioned && var.configuration.subnet_groups[value.subnet_group].nat_gateway]))