Skip to content

0.1.1

Compare
Choose a tag to compare
@aknysh aknysh released this 04 Apr 15:06
b97d055

what

  • Change outputs calculation to fix TF errors

why

  • When NAT Gateways are not created (in private subnets) or when nat_gateway_enabled=false, Terraform throws error
Error: Error refreshing state: 1 error(s) occurred:

* module.private_subnets.output.az_ngw_ids: zipmap: count of keys (3) does not match count of values (0) in:

${zipmap(var.availability_zones, matchkeys(aws_nat_gateway.public.*.id, aws_nat_gateway.public.*.tags.AZ, var.availability_zones))}
  • To address #2

test

image