account.hcl 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # Set account-wide variables. These are automatically pulled in to configure the remote state bucket in the root
  2. # terragrunt.hcl configuration.
  3. locals {
  4. account_name = "afs-mdr-test-c2-gov"
  5. account_alias = "afs-mdr-test-c2-gov"
  6. aws_account_id = "738800754746"
  7. instance_termination_protection = false # set to true for production!
  8. splunk_prefix = "moose"
  9. c2_account_standards_path = "../../mdr-test-c2/005-account-standards-c2"
  10. # For CIDR assignment, see https://github.xdr.accenturefederalcyber.com/mdr-engineering/msoc-infrastructure/wiki/IP-Address-Allocation
  11. vpc_info = {
  12. "vpc-splunk" = {
  13. "name" = "vpc-splunk"
  14. "purpose" = "Splunk Systems (MOOSE)"
  15. "cidr" = "10.20.16.0/22",
  16. "tgw_attached" = true,
  17. },
  18. "vpc-system-services" = {
  19. "name" = "vpc-system-services",
  20. "purpose" = "Internal Services for Systems (not people)",
  21. "cidr" = "10.20.0.0/22",
  22. "tgw_attached" = false, # NOTE: This is attached via the transit gateway creation
  23. },
  24. "vpc-scanners" = {
  25. "name" = "vpc-scanners",
  26. "purpose" = "Security Scanning",
  27. "cidr" = "10.20.12.0/22",
  28. "tgw_attached" = true,
  29. },
  30. "vpc-interconnects" = {
  31. "name" = "vpc-interconnects",
  32. "purpose" = "Interconnections between AWS partitions",
  33. "cidr" = "10.179.128.0/22",
  34. "tgw_attached" = false,
  35. },
  36. "vpc-access" = {
  37. "name" = "vpc-access"
  38. "purpose" = "Systems providing restricted access, such as bastions and vpn concentrators"
  39. "cidr" = "10.20.20.0/22"
  40. "tgw_attached" = true,
  41. },
  42. "vpc-cisco" = {
  43. "name" = "vpc-cisco"
  44. "purpose" = "Cisco VPN Subnet"
  45. "cidr" = "10.20.36.0/22",
  46. "tgw_attached" = true,
  47. },
  48. "vpc-portal" = {
  49. "name" = "vpc-portal"
  50. "purpose" = "The Customer Portal"
  51. "cidr" = "10.20.32.0/24"
  52. "tgw_attached" = true,
  53. },
  54. "vpc-public" = {
  55. "name" = "vpc-public"
  56. "purpose" = "Publicly Accessible Infrastructure Services, such as GHE and Jira"
  57. "cidr" = "10.20.24.0/22"
  58. "tgw_attached" = true,
  59. },
  60. "vpc-private-services" = {
  61. "name" = "vpc-private-services"
  62. "purpose" = "Private XDR Services for XDR users"
  63. "cidr" = "10.20.28.0/22"
  64. "tgw_attached" = true,
  65. },
  66. }
  67. # AS Number used for the transit gateway; only in the C2 accounts
  68. asn = 64710 # changing this replaces the gateway
  69. }