env.hcl 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. # Set common variables for the environment. This is automatically pulled in in the root terragrunt.hcl configuration to
  2. # feed forward to the child modules.
  3. locals {
  4. environment = "prod"
  5. transit_gateway_account_name = "mdr-prod-c2" # Which account has the transit gateway
  6. environment_tags = {
  7. "Schedule" = "none",
  8. Environment = local.environment
  9. }
  10. proxy = "proxy.pvt.xdr.accenturefederalcyber.com"
  11. proxy_ip = "10.80.101.166"
  12. salt_master = "salt-master.pvt.xdr.accenturefederalcyber.com"
  13. salt_master_ip = "10.40.2.106"
  14. hec = "moose-hec.xdr.accenturefederalcyber.com"
  15. hec_pub = "moose-hec.xdr.accenturefederalcyber.com"
  16. hec_pub_ack = "moose-hec-ack.xdr.accenturefederalcyber.com"
  17. aws_waf_logs_hec_token = "FA38B8DD-1398-46D0-BD79-BA046C6064B0" # HEC token for posting WAF logs to the moose HEC
  18. # Supernet(s) for the environment, see IP Address Allocation in wiki
  19. supernets = [
  20. "10.1.0.0/16", # Common Services (gov and commercial) supernet
  21. "10.32.0.0/12", # Prod (gov and commercial) supernet
  22. ]
  23. # When there are multiples, put govcloud first, then commercial, and alternate if there are more than 2.
  24. # Put any standalone IPs at the end.
  25. cidr_map = {
  26. "vpc-splunk" = ["10.40.16.0/22", # Splunk -- **MOOSE**
  27. ],
  28. "vpc-access" = ["10.40.20.0/22", # VPN, bastions (if any), etc.
  29. ],
  30. "vpc-public" = ["10.40.24.0/22", # Public sites (github, ghe-backup, jira, ...)
  31. ],
  32. "vpc-scanners" = ["10.40.12.0/22",
  33. ], # Qualys, etc.
  34. "vpc-system-services" = ["10.32.0.0/22", # Internal services such as dns, mailrelay, etc.
  35. "10.40.0.0/22",
  36. ],
  37. "vpc-private-services" = [
  38. "10.40.28.0/22", # Private Services - fm-shared-search, qcompliance, phantom, etc.
  39. ],
  40. # "old" mappings before architecture planning... we should eliminate these.
  41. "bastions" = ["10.40.20.0/22"], # vpc-access in mdr-prod-c2-gov
  42. "vpns" = ["10.40.20.0/22"], # vpc-access in mdr-prod-c2-gov
  43. "scanners" = ["10.40.12.0/22"], # vpc-qualys
  44. "dns" = ["10.40.0.0/22", "10.32.0.0/22"], # vpc-system-services in commercial nad gov
  45. "monitoring" = ["10.40.0.0/22"], # legacy sensu, and vpc-system-services in gov
  46. "salt" = ["10.40.0.0/22"], # legacy salt-master, and vpc-system-services in gov
  47. "web" = ["10.40.0.0/22"], # legacy proxy/repo, and vpc-system-services in gov
  48. "moose" = ["10.40.16.0/22"], # legacy vpc, and vpc-system-services in gov
  49. }
  50. legacy_account = "477548533976"
  51. c2_accounts = {
  52. "aws-us-gov" = "721817724804" # mdr-prod-c2-gov
  53. "aws" = "045312110490" # mdr-prod-c2
  54. }
  55. dns_servers = [
  56. "10.40.2.77",
  57. "10.40.2.228"
  58. ]
  59. inbound_resolver_endpoints = [
  60. "10.40.0.198",
  61. "10.40.0.64",
  62. ]
  63. dns_info = {
  64. "private" = {
  65. zone = "pvt.xdr.accenturefederalcyber.com",
  66. zone_id = "Z08498911YSZW4A0XN4AG"
  67. }
  68. "reverse" = {
  69. zone = "10.in-addr.arpa"
  70. zone_id = "Z08395981DXDBY6CVJTW1"
  71. }
  72. "public" = {
  73. zone = "xdr.accenturefederalcyber.com"
  74. zone_id = "Z0083657A94URZM2TM87"
  75. },
  76. "legacy_private" = {
  77. zone = "msoc.defpoint.local"
  78. zone_id = "Z2JVOIKXZP64QP"
  79. },
  80. "legacy_public" = {
  81. zone = "mdr.defpoint.com"
  82. zone_id = "Z2HYR9YEZ4KLDE"
  83. },
  84. "legacy_public_internal" = {
  85. # Weird name, but this is the 'private' copy of the public domain
  86. zone = "mdr.defpoint.com"
  87. zone_id = "Z2RGT77XQU1QBX"
  88. },
  89. }
  90. aws_flowlogs_hec_token = "4a2cacb2-fea1-4328-8f25-9bef26333e91"
  91. # Legacy DNS
  92. dns_private = {
  93. "id" = "Z2JVOIKXZP64QP"
  94. "name" = "msoc.defpoint.local"
  95. }
  96. dns_private2 = {
  97. # There are many of these... future task to figure it out
  98. "id" = "Z2RGT77XQU1QBX"
  99. "name" = "mdr.defpoint.com"
  100. }
  101. dns_public = {
  102. "id" = "Z2HYR9YEZ4KLDE"
  103. "name" = "mdr.defpoint.com"
  104. }
  105. }