env.hcl 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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 = "common"
  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.40.2.107"
  12. salt_master = "salt-master.pvt.xdr.accenturefederalcyber.com"
  13. salt_master_ip = "10.40.2.106"
  14. hec = "moose-hec.pvt.xdr.accenturefederalcyber.com"
  15. hec_pub = "moose-hec.xdr.accenturefederalcyber.com"
  16. hec_pub_ack = "moose-hec-ack.xdr.accenturefederalcyber.com"
  17. # When there are multiples, put govcloud first, then commercial, and alternate if there are more than 2.
  18. # Put any standalone IPs at the end.
  19. cidr_map = {
  20. "bastions" = ["10.40.20.0/22"], # vpc-access in mdr-prod-c2-gov
  21. "vpns" = ["10.40.20.0/22"], # vpc-access in mdr-prod-c2-gov
  22. "scanners" = ["10.40.12.0/22"], # vpc-qualys
  23. "dns" = ["10.40.0.0/22", "10.32.0.0/22"], # vpc-system-services in commercial nad gov
  24. "monitoring" = ["10.40.0.0/22"], # legacy sensu, and vpc-system-services in gov
  25. "salt" = ["10.40.0.0/22"], # legacy salt-master, and vpc-system-services in gov
  26. "web" = ["10.40.0.0/22"], # legacy proxy/repo, and vpc-system-services in gov
  27. "smtp" = ["10.20.0.0/22"], # legacy relay, and vpc-system-services in gov
  28. "moose" = ["10.40.16.0/22"], # legacy vpc, and vpc-system-services in gov
  29. }
  30. legacy_account = "477548533976"
  31. c2_accounts = {
  32. "aws-us-gov" = "721817724804" # mdr-prod-c2-gov
  33. "aws" = "045312110490" # mdr-prod-c2
  34. }
  35. aws_flowlogs_hec_token = "4a2cacb2-fea1-4328-8f25-9bef26333e91"
  36. # Common services doesn't have DNS Servers
  37. #dns_servers = [
  38. #]
  39. # Note: 'private' and 'reverse' do not presently work in common services
  40. dns_info = {
  41. "private" = {
  42. zone = "pvt.xdr.accenturefederalcyber.com",
  43. zone_id = "Z08498911YSZW4A0XN4AG"
  44. },
  45. "public" = {
  46. zone = "xdr.accenturefederalcyber.com"
  47. zone_id = "Z0083657A94URZM2TM87"
  48. },
  49. "legacy_private" = {
  50. zone = "msoc.defpoint.local"
  51. zone_id = "Z2JVOIKXZP64QP"
  52. },
  53. "legacy_public" = {
  54. zone = "mdr.defpoint.com"
  55. zone_id = "Z2HYR9YEZ4KLDE"
  56. },
  57. }
  58. # legacy DNS
  59. dns_private = {
  60. "id" = "Z2JVOIKXZP64QP"
  61. "name" = "msoc.defpoint.local"
  62. }
  63. dns_private2 = {
  64. # There are many of these... future task to figure it out
  65. "id" = "Z2RGT77XQU1QBX"
  66. "name" = "mdr.defpoint.com"
  67. }
  68. dns_public = {
  69. "id" = "Z2HYR9YEZ4KLDE"
  70. "name" = "mdr.defpoint.com"
  71. }
  72. }