env.hcl 2.5 KB

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