env.hcl 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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 = "test"
  5. transit_gateway_account_name = "mdr-test-c2" # Which account has the transit gateway
  6. environment_tags = {
  7. Environment = local.environment
  8. }
  9. proxy = "proxy.msoc.defpoint.local"
  10. proxy_ip = "10.96.101.188"
  11. salt_master = "salt-master.msoc.defpoint.local"
  12. salt_master_ip = "10.96.101.161"
  13. # Todo: Add CIDRs from new environment as they are assigned
  14. # When there are multiples, put govcloud first, then commercial, and alternate if there are more than 2.
  15. # Put any standalone IPs at the end.
  16. cidr_map = {
  17. "bastions" = [ "10.96.101.218/32" ],
  18. "vpns" = [ "10.96.101.249/32" ],
  19. "scanners" = [ "10.20.12.0/22" ],
  20. "dns" = [ "10.20.0.0/22", "10.16.0.0/22" ], # DNS is in standard
  21. "monitoring" = [ "10.96.101.43/32" ],
  22. "salt" = [ "10.96.101.161/32" ],
  23. "web" = [ "10.96.101.188/32", "10.96.101.160/32" ], # Things systems need http/https access to, such as the proxy and the rep
  24. "smtp" = [ "10.96.1.160/32" ],
  25. "moose" = [ "10.96.0.0/16" ],
  26. }
  27. legacy_account = "527700175026"
  28. c2_accounts = {
  29. "aws-us-gov" = "738800754746" # mdr-test-c2-gov
  30. "aws" = "816914342178" # mdr-test-c2
  31. }
  32. dns_servers = [
  33. "10.20.2.64",
  34. "10.16.2.123",
  35. ]
  36. inbound_resolver_endpoints = [
  37. "10.20.0.119",
  38. "10.20.0.211",
  39. ]
  40. dns_info = {
  41. "private" = {
  42. zone = "pvt.xdrtest.accenturefederalcyber.com",
  43. zone_id = "Z08514662ZGG8BM81TKD5"
  44. }
  45. "reverse" = {
  46. zone = "10.in-addr.arpa"
  47. zone_id = "Z08479312XJFUS20YJUJO"
  48. }
  49. "public" = {
  50. zone = "xdrtest.accenturefederalcyber.com"
  51. zone_id = "Z01677392W0QM639KU2KC"
  52. }
  53. }
  54. # Legacy DNS
  55. dns_private = {
  56. "id" = "Z39OIGEKXXGJZ2"
  57. "name" = "msoc.defpoint.local"
  58. }
  59. dns_private2 = {
  60. "id" = "Z13C1OOJMG0BJ7", #zone 2
  61. "name" = "mdr-test.defpoint.com"
  62. }
  63. dns_public = {
  64. "id" = "Z3E22S3CIP0UCO",
  65. "name" = "mdr-test.defpoint.com"
  66. }
  67. # Provide some legacy DNS entries so that systems we build
  68. # don't have to be rebuilt when we migrate the supporting systems.
  69. # Idea here is just to build entries for those systems we need during
  70. # the transition.
  71. #
  72. # When you migrate one of the systems below:
  73. # 1) Remove the entry from this list.
  74. # 2) Reapply the legacy-mdr-*/026-legacy-dns-entries module.
  75. # 3) Create a new entry in the module with which you're creating the new instance.
  76. legacy_private_dns = {
  77. #"moose-splunk-cm" = "10.96.101.87",
  78. #"moose-splunk-hf" = "10.96.101.75",
  79. #"moose-splunk-sh" = "10.96.101.59",
  80. #"clu" = "10.96.101.122",
  81. #"fm-shared-search" = "10.96.1.39",
  82. #"ghe-backup" = "10.96.101.71",
  83. "mailrelay" = "10.96.1.160",
  84. #"openvpn" = "10.96.101.249",
  85. #"phantom" = "10.96.101.186",
  86. "proxy" = "10.96.101.188",
  87. "reposerver" = "10.96.101.160",
  88. "sensu" = "10.96.101.43",
  89. #"splunk-mc" = "10.96.1.133",
  90. #"vault-1" = "10.96.1.38",
  91. #"vault-2" = "10.96.2.63",
  92. #"vault-3" = "10.96.3.88",
  93. "salt-master" = "10.96.101.161",
  94. }
  95. # not many public entries, as the use of saml negates their usefulness
  96. legacy_public_dns = {
  97. "bastion" = "34.237.123.128",
  98. "proxy" = "18.214.39.158",
  99. "reposerver" = "34.202.16.40",
  100. "salt-master" = "18.233.43.236",
  101. "sensu" = "34.235.81.176"
  102. }
  103. }