Skip to content

Commit

Permalink
add region_map
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jul 30, 2024
1 parent b4c17b5 commit 94ee860
Showing 1 changed file with 40 additions and 39 deletions.
79 changes: 40 additions & 39 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
# }
# }
# }

0 comments on commit 94ee860

Please sign in to comment.