From 94ee8604f64a27aff3ddc9f28b4545988471ba89 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Mon, 29 Jul 2024 16:15:55 -0400 Subject: [PATCH] add region_map --- variables.tf | 79 ++++++++++++++++++++++++++-------------------------- 1 file changed, 40 insertions(+), 39 deletions(-) diff --git a/variables.tf b/variables.tf index f5b4280..6d85964 100644 --- a/variables.tf +++ b/variables.tf @@ -117,46 +117,47 @@ variable "aws_environment" { # DNS variables ################################################################### -variable "main_dns_vpcs" { - description = "Map of region and VPC ids of the vpc1-services in us-gov-west-1 and us-gov-east-1 for centralized DNS" - type = map(string) - default = { - "us-gov-west-1" = "vpc-77877a12" - "us-gov-east-1" = "vpc-099a991da7c4eb8a5" - } -} - -variable "main_dns_profile" { - description = "Profile name for AWS for the main DNS central account" - type = string - default = "107742151971-do2-govcloud" -} - - -variable "dns_zone_description_prefix" { - description = "Zone description with the org-project-program-environment" - type = string - default = "" -} +# variable "main_dns_vpcs" { +# description = "Map of region and VPC ids of the vpc1-services in us-gov-west-1 and us-gov-east-1 for centralized DNS" +# type = map(string) +# default = { +# "us-gov-west-1" = "vpc-77877a12" +# "us-gov-east-1" = "vpc-099a991da7c4eb8a5" +# } +# } + +# variable "main_dns_profile" { +# description = "Profile name for AWS for the main DNS central account" +# type = string +# default = "107742151971-do2-govcloud" +# } + + +# variable "dns_zone_description_prefix" { +# description = "Zone description with the org-project-program-environment" +# type = string +# default = "" +# } variable "region_map" { description = "AWS region map" type = map(string) -} - -variable "route53_endpoints" { - description = "Map of target route53 endpoints (for inbound) central VPCs" - type = map(map(string)) - default = { - route53_main = { - "account_id" = "057405694017" - "us-gov-east-1" = "vpc-0871ba8a6040d623a" - "us-gov-west-1" = "vpc-0f03ea065333f72c5" - } - route53_main_legacy = { - "account_id" = "107742151971" - "us-gov-east-1" = "vpc-099a991da7c4eb8a5" - "us-gov-west-1" = "vpc-77877a12" - } - } -} + default = {"east": "us-gov-east-1", "west": "us-gov-west-1"} +} + +# variable "route53_endpoints" { +# description = "Map of target route53 endpoints (for inbound) central VPCs" +# type = map(map(string)) +# default = { +# route53_main = { +# "account_id" = "057405694017" +# "us-gov-east-1" = "vpc-0871ba8a6040d623a" +# "us-gov-west-1" = "vpc-0f03ea065333f72c5" +# } +# route53_main_legacy = { +# "account_id" = "107742151971" +# "us-gov-east-1" = "vpc-099a991da7c4eb8a5" +# "us-gov-west-1" = "vpc-77877a12" +# } +# } +# }