Skip to content

Commit

Permalink
Remove VPC CIDR from region data (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwilkie authored Sep 24, 2024
1 parent 5a2dbfc commit 6b7ae71
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions infrastructure/somleng/core/ssm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ resource "aws_ssm_parameter" "somleng_regions_production" {
identifier = module.hydrogen_region.aws_region,
human_name = "South East Asia (Singapore)",
group_id = 1,
nat_ip = module.hydrogen_region.vpc.nat_public_ips[0],
vpc_cidr = module.hydrogen_region.vpc.vpc_cidr_block
nat_ip = module.hydrogen_region.vpc.nat_public_ips[0]
},
{
alias = module.helium_region.alias,
identifier = module.helium_region.aws_region,
human_name = "North America (N. Virginia, USA)",
group_id = 2,
nat_ip = module.helium_region.vpc.nat_public_ips[0],
vpc_cidr = module.helium_region.vpc.vpc_cidr_block
nat_ip = module.helium_region.vpc.nat_public_ips[0]
}
]
)
Expand All @@ -33,16 +31,14 @@ resource "aws_ssm_parameter" "somleng_regions_staging" {
identifier = module.hydrogen_region.aws_region,
human_name = "South East Asia (Singapore)",
group_id = 1,
nat_ip = module.hydrogen_region.vpc.nat_public_ips[0],
vpc_cidr = module.hydrogen_region.vpc.vpc_cidr_block
nat_ip = module.hydrogen_region.vpc.nat_public_ips[0]
},
{
alias = module.helium_region.alias,
identifier = module.helium_region.aws_region,
human_name = "North America (N. Virginia, USA)",
group_id = 2,
nat_ip = module.helium_region.vpc.nat_public_ips[0],
vpc_cidr = module.helium_region.vpc.vpc_cidr_block
nat_ip = module.helium_region.vpc.nat_public_ips[0]
}
]
)
Expand Down

0 comments on commit 6b7ae71

Please sign in to comment.