env.hcl 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. Environment = local.environment
  8. }
  9. legacy_account = "477548533976"
  10. c2_accounts = {
  11. "aws-us-gov" = "721817724804" # mdr-prod-c2-gov
  12. "aws" = "045312110490" # mdr-prod-c2
  13. }
  14. dns_servers = [
  15. "10.40.0.198",
  16. "10.40.0.64",
  17. "10.40.1.26",
  18. ]
  19. dns_info = {
  20. "private" = {
  21. zone = "pvt.xdr.accenturefederalcyber.com",
  22. zone_id = "Z08498911YSZW4A0XN4AG"
  23. }
  24. "reverse" = {
  25. zone = "10.in-addr.arpa"
  26. zone_id = "Z08395981DXDBY6CVJTW1"
  27. }
  28. "public" = {
  29. zone = "xdr.accenturefederalcyber.com"
  30. zone_id = "Z0083657A94URZM2TM87"
  31. }
  32. }
  33. # Legacy DNS
  34. dns_private = {
  35. "id" = "Z2JVOIKXZP64QP"
  36. "name" = "msoc.defpoint.local"
  37. }
  38. dns_private2 = {
  39. # There are many of these... future task to figure it out
  40. "id" = "Z2RGT77XQU1QBX"
  41. "name" = "mdr.defpoint.com"
  42. }
  43. dns_public = {
  44. "id" = "Z2HYR9YEZ4KLDE"
  45. "name" = "mdr.defpoint.com"
  46. }
  47. # Provide some legacy DNS entries so that systems we build
  48. # don't have to be rebuilt when we migrate the supporting systems.
  49. # Idea here is just to build entries for those systems we need during
  50. # the transition.
  51. #
  52. # When you migrate one of the systems below:
  53. # 1) Remove the entry from this list.
  54. # 2) Reapply the legacy-mdr-*/026-legacy-dns-entries module.
  55. # 3) Create a new entry in the module with which you're creating the new instance.
  56. legacy_private_dns = {
  57. #"jira-server" = "10.80.101.250",
  58. "mailrelay" = "10.80.1.107",
  59. #"openvpn" = "10.100.0.129",
  60. #"phantom" = "10.80.101.221",
  61. "proxy" = "10.80.101.166",
  62. "reposerver" = "10.80.101.197",
  63. "sensu" = "10.80.101.230",
  64. #"splunk-mc" = "10.80.1.27",
  65. #"vault-1" = "10.80.1.134",
  66. #"vault-2" = "10.80.2.236",
  67. #"vault-3" = "10.80.3.61",
  68. "salt-master" = "10.80.101.170",
  69. }
  70. legacy_public_dns = {
  71. "bastion" = "18.233.216.6",
  72. "proxy" = "35.153.103.164",
  73. "reposerver" = "18.234.16.205",
  74. "salt-master" = "52.5.165.105",
  75. "sensu" = "52.6.95.246",
  76. }
  77. }