Skip to content

Commit

Permalink
Merge pull request #1576 from alphagov/samsimpson1/tfc-imports
Browse files Browse the repository at this point in the history
explicitly enable NAT for legacy subnets that need it
  • Loading branch information
samsimpson1 authored Jan 17, 2025
2 parents 188d0b8 + 2270f79 commit 09fde8b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ module "variable-set-integration" {
}

legacy_private_subnets = {
a = { az = "eu-west-1a", cidr = "10.1.4.0/24" }
b = { az = "eu-west-1b", cidr = "10.1.5.0/24" }
c = { az = "eu-west-1c", cidr = "10.1.6.0/24" }
a = { az = "eu-west-1a", cidr = "10.1.4.0/24", nat = true }
b = { az = "eu-west-1b", cidr = "10.1.5.0/24", nat = true }
c = { az = "eu-west-1c", cidr = "10.1.6.0/24", nat = true }

rds_a = { az = "eu-west-1a", cidr = "10.1.10.0/24", nat = false }
rds_b = { az = "eu-west-1b", cidr = "10.1.11.0/24", nat = false }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ module "variable-set-production" {
}

legacy_private_subnets = {
a = { az = "eu-west-1a", cidr = "10.13.4.0/24" }
b = { az = "eu-west-1b", cidr = "10.13.5.0/24" }
c = { az = "eu-west-1c", cidr = "10.13.6.0/24" }
a = { az = "eu-west-1a", cidr = "10.13.4.0/24", nat = true }
b = { az = "eu-west-1b", cidr = "10.13.5.0/24", nat = true }
c = { az = "eu-west-1c", cidr = "10.13.6.0/24", nat = true }

rds_a = { az = "eu-west-1a", cidr = "10.13.10.0/24", nat = false }
rds_b = { az = "eu-west-1b", cidr = "10.13.11.0/24", nat = false }
Expand Down
6 changes: 3 additions & 3 deletions terraform/deployments/tfc-configuration/variables-staging.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ module "variable-set-staging" {
}

legacy_private_subnets = {
a = { az = "eu-west-1a", cidr = "10.12.4.0/24" }
b = { az = "eu-west-1b", cidr = "10.12.5.0/24" }
c = { az = "eu-west-1c", cidr = "10.12.6.0/24" }
a = { az = "eu-west-1a", cidr = "10.12.4.0/24", nat = true }
b = { az = "eu-west-1b", cidr = "10.12.5.0/24", nat = true }
c = { az = "eu-west-1c", cidr = "10.12.6.0/24", nat = true }

rds_a = { az = "eu-west-1a", cidr = "10.12.10.0/24", nat = false }
rds_b = { az = "eu-west-1b", cidr = "10.12.11.0/24", nat = false }
Expand Down

0 comments on commit 09fde8b

Please sign in to comment.