12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- # Set common variables for the environment. This is automatically pulled in in the root terragrunt.hcl configuration to
- # feed forward to the child modules.
- locals {
- environment = "prod"
- transit_gateway_account_name = "mdr-prod-c2" # Which account has the transit gateway
- environment_tags = {
- Environment = local.environment
- }
- legacy_account = "477548533976"
- c2_accounts = {
- "aws-us-gov" = "721817724804" # mdr-prod-c2-gov
- "aws" = "045312110490" # mdr-prod-c2
- }
- dns_servers = [
- "10.40.0.198",
- "10.40.0.64",
- "10.40.1.26",
- ]
- dns_info = {
- "private" = {
- zone = "pvt.xdr.accenturefederalcyber.com",
- zone_id = "Z08498911YSZW4A0XN4AG"
- }
- "reverse" = {
- zone = "10.in-addr.arpa"
- zone_id = "Z08395981DXDBY6CVJTW1"
- }
- "public" = {
- zone = "xdr.accenturefederalcyber.com"
- zone_id = "Z0083657A94URZM2TM87"
- }
- }
- # Legacy DNS
- dns_private = {
- "id" = "Z2JVOIKXZP64QP"
- "name" = "msoc.defpoint.local"
- }
- dns_private2 = {
- # There are many of these... future task to figure it out
- "id" = "Z2RGT77XQU1QBX"
- "name" = "mdr.defpoint.com"
- }
- dns_public = {
- "id" = "Z2HYR9YEZ4KLDE"
- "name" = "mdr.defpoint.com"
- }
- # Provide some legacy DNS entries so that systems we build
- # don't have to be rebuilt when we migrate the supporting systems.
- # Idea here is just to build entries for those systems we need during
- # the transition.
- #
- # When you migrate one of the systems below:
- # 1) Remove the entry from this list.
- # 2) Reapply the legacy-mdr-*/026-legacy-dns-entries module.
- # 3) Create a new entry in the module with which you're creating the new instance.
- legacy_private_dns = {
- #"jira-server" = "10.80.101.250",
- "mailrelay" = "10.80.1.107",
- #"openvpn" = "10.100.0.129",
- #"phantom" = "10.80.101.221",
- "proxy" = "10.80.101.166",
- "reposerver" = "10.80.101.197",
- "sensu" = "10.80.101.230",
- #"splunk-mc" = "10.80.1.27",
- #"vault-1" = "10.80.1.134",
- #"vault-2" = "10.80.2.236",
- #"vault-3" = "10.80.3.61",
- "salt-master" = "10.80.101.170",
- }
- legacy_public_dns = {
- "bastion" = "18.233.216.6",
- "proxy" = "35.153.103.164",
- "reposerver" = "18.234.16.205",
- "salt-master" = "52.5.165.105",
- "sensu" = "52.6.95.246",
- }
- }
|