Skip to content

Commit

Permalink
* 2.14.0 -- 2026-05-08
Browse files Browse the repository at this point in the history
  - routing
    - update to associate nat-gateway on public subnet if boc:vpc:attach-nat-gateway=true
  • Loading branch information
badra001 committed May 8, 2026
1 parent 6ee5efd commit d54369f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,3 +498,6 @@
- add variable for dns_support, default to false (disabled)
- this comes from the resolution of AWS support case 176963314006987 from ent-gov-operations-prod account

* 2.14.0 -- 2026-05-08
- routing
- update to associate nat-gateway on public subnet if boc:vpc:attach-nat-gateway=true
2 changes: 1 addition & 1 deletion common/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
_module_version = "2.13.1"
_module_version = "2.14.0"
_module_names = {
"_main_" = "aws-vpc-setup"

Expand Down
3 changes: 2 additions & 1 deletion routing/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ resource "aws_internet_gateway" "gateway" {

# assume only 1 public subnet block (per AZ)
# should figure out the first one
# looks at boc:vpc:attach-nat-gateway=true
locals {
public_subnets_ids_az = { for subnet in var.public_subnets_ids : subnet.availability_zone => subnet }
public_subnets_ids_az = { for subnet in var.public_subnets_ids : subnet.availability_zone => subnet if try(subnet.tags["boc:vpc:attach-nat-gateway"] == "true", false) }
}

resource "aws_nat_gateway" "nat" {
Expand Down

0 comments on commit d54369f

Please sign in to comment.