From 6b7ae71ec3ca7105e72940fd794eb44bcada22ae Mon Sep 17 00:00:00 2001 From: David Wilkie Date: Tue, 24 Sep 2024 22:45:17 +0700 Subject: [PATCH] Remove VPC CIDR from region data (#86) --- infrastructure/somleng/core/ssm.tf | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/infrastructure/somleng/core/ssm.tf b/infrastructure/somleng/core/ssm.tf index c6a763b0..0d793087 100644 --- a/infrastructure/somleng/core/ssm.tf +++ b/infrastructure/somleng/core/ssm.tf @@ -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] } ] ) @@ -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] } ] )