env.hcl 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. legacy_account = "527700175026"
  10. c2_accounts = {
  11. "aws-us-gov" = "738800754746" # mdr-test-c2-gov
  12. "aws" = "816914342178" # mdr-test-c2
  13. }
  14. dns_servers = [
  15. "10.20.0.119",
  16. "10.20.0.211",
  17. "10.20.1.11",
  18. ]
  19. dns_info = {
  20. "private" = {
  21. zone = "pvt.xdrtest.accenturefederalcyber.com",
  22. zone_id = "Z08514662ZGG8BM81TKD5"
  23. }
  24. "reverse" = {
  25. zone = "10.in-addr.arpa"
  26. zone_id = "Z08479312XJFUS20YJUJO"
  27. }
  28. "public" = {
  29. zone = "xdrtest.accenturefederalcyber.com"
  30. zone_id = "Z01677392W0QM639KU2KC"
  31. }
  32. }
  33. # Legacy DNS
  34. dns_private = {
  35. "id" = "Z39OIGEKXXGJZ2"
  36. "name" = "msoc.defpoint.local"
  37. }
  38. dns_private2 = {
  39. "id" = "Z13C1OOJMG0BJ7", #zone 2
  40. "name" = "mdr-test.defpoint.com"
  41. }
  42. dns_public = {
  43. "id" = "Z3E22S3CIP0UCO",
  44. "name" = "mdr-test.defpoint.com"
  45. }
  46. # Provide some legacy DNS entries so that systems we build
  47. # don't have to be rebuilt when we migrate the supporting systems.
  48. # Idea here is just to build entries for those systems we need during
  49. # the transition.
  50. #
  51. # When you migrate one of the systems below:
  52. # 1) Remove the entry from this list.
  53. # 2) Reapply the legacy-mdr-*/026-legacy-dns-entries module.
  54. # 3) Create a new entry in the module with which you're creating the new instance.
  55. legacy_private_dns = {
  56. #"moose-splunk-cm" = "10.96.101.87",
  57. #"moose-splunk-hf" = "10.96.101.75",
  58. #"moose-splunk-sh" = "10.96.101.59",
  59. #"clu" = "10.96.101.122",
  60. #"fm-shared-search" = "10.96.1.39",
  61. #"ghe-backup" = "10.96.101.71",
  62. "mailrelay" = "10.96.1.160",
  63. #"openvpn" = "10.96.101.249",
  64. #"phantom" = "10.96.101.186",
  65. "proxy" = "10.96.101.188",
  66. "reposerver" = "10.96.101.160",
  67. "sensu" = "10.96.101.43",
  68. #"splunk-mc" = "10.96.1.133",
  69. #"vault-1" = "10.96.1.38",
  70. #"vault-2" = "10.96.2.63",
  71. #"vault-3" = "10.96.3.88",
  72. "salt-master" = "10.96.101.161",
  73. }
  74. # not many public entries, as the use of saml negates their usefulness
  75. legacy_public_dns = {
  76. "bastion" = "34.237.123.128",
  77. "proxy" = "18.214.39.158",
  78. "reposerver" = "34.202.16.40",
  79. "salt-master" = "18.233.43.236",
  80. "sensu" = "34.235.81.176"
  81. }
  82. }