123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- # 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 = {
- "Schedule" = "none",
- Environment = local.environment
- }
- proxy = "proxy.pvt.xdr.accenturefederalcyber.com"
- proxy_ip = "10.80.101.166"
- salt_master = "salt-master.pvt.xdr.accenturefederalcyber.com"
- salt_master_ip = "10.40.2.106"
- hec = "moose-hec.xdr.accenturefederalcyber.com"
- hec_pub = "moose-hec.xdr.accenturefederalcyber.com"
- hec_pub_ack = "moose-hec-ack.xdr.accenturefederalcyber.com"
- aws_waf_logs_hec_token = "FA38B8DD-1398-46D0-BD79-BA046C6064B0" # HEC token for posting WAF logs to the moose HEC
- # Supernet(s) for the environment, see IP Address Allocation in wiki
- supernets = [
- "10.1.0.0/16", # Common Services (gov and commercial) supernet
- "10.32.0.0/12", # Prod (gov and commercial) supernet
- ]
- # When there are multiples, put govcloud first, then commercial, and alternate if there are more than 2.
- # Put any standalone IPs at the end.
- cidr_map = {
- "vpc-splunk" = ["10.40.16.0/22", # Splunk -- **MOOSE**
- ],
- "vpc-access" = ["10.40.20.0/22", # VPN, bastions (if any), etc.
- ],
- "vpc-public" = ["10.40.24.0/22", # Public sites (github, ghe-backup, jira, ...)
- ],
- "vpc-scanners" = ["10.40.12.0/22",
- ], # Qualys, etc.
- "vpc-system-services" = ["10.32.0.0/22", # Internal services such as dns, mailrelay, etc.
- "10.40.0.0/22",
- ],
- "vpc-private-services" = [
- "10.40.28.0/22", # Private Services - fm-shared-search, qcompliance, phantom, etc.
- ],
- # "old" mappings before architecture planning... we should eliminate these.
- "bastions" = ["10.40.20.0/22"], # vpc-access in mdr-prod-c2-gov
- "vpns" = ["10.40.20.0/22"], # vpc-access in mdr-prod-c2-gov
- "scanners" = ["10.40.12.0/22"], # vpc-qualys
- "dns" = ["10.40.0.0/22", "10.32.0.0/22"], # vpc-system-services in commercial nad gov
- "monitoring" = ["10.40.0.0/22"], # legacy sensu, and vpc-system-services in gov
- "salt" = ["10.40.0.0/22"], # legacy salt-master, and vpc-system-services in gov
- "web" = ["10.40.0.0/22"], # legacy proxy/repo, and vpc-system-services in gov
- "moose" = ["10.40.16.0/22"], # legacy vpc, and vpc-system-services in gov
- }
- legacy_account = "477548533976"
- c2_accounts = {
- "aws-us-gov" = "721817724804" # mdr-prod-c2-gov
- "aws" = "045312110490" # mdr-prod-c2
- }
- dns_servers = [
- "10.40.2.77",
- "10.40.2.228"
- ]
- inbound_resolver_endpoints = [
- "10.40.0.198",
- "10.40.0.64",
- ]
- 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_private" = {
- zone = "msoc.defpoint.local"
- zone_id = "Z2JVOIKXZP64QP"
- },
- "legacy_public" = {
- zone = "mdr.defpoint.com"
- zone_id = "Z2HYR9YEZ4KLDE"
- },
- "legacy_public_internal" = {
- # Weird name, but this is the 'private' copy of the public domain
- zone = "mdr.defpoint.com"
- zone_id = "Z2RGT77XQU1QBX"
- },
- }
- aws_flowlogs_hec_token = "4a2cacb2-fea1-4328-8f25-9bef26333e91"
- # 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"
- }
- }
|