account.hcl 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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-prod-c2-gov"
  5. account_alias = "afs-mdr-prod-c2-gov"
  6. aws_account_id = "721817724804"
  7. instance_termination_protection = true # set to true for production!
  8. account_tags = { }
  9. c2_account_standards_path = "../../mdr-prod-c2/005-account-standards-c2"
  10. # For CIDR assignment, see https://github.mdr.defpoint.com/mdr-engineering/msoc-infrastructure/wiki/IP-Address-Allocation
  11. standard_vpc_cidr = "10.40.0.0/22"
  12. vpc_info = {
  13. "vpc-splunk" = {
  14. "name" = "vpc-splunk"
  15. "purpose" = "Splunk Systems (MOOSE)"
  16. "cidr" = "10.20.16.0/22",
  17. "tgw_attached" = true,
  18. },
  19. "vpc-system-services" = {
  20. "name" = "vpc-system-services",
  21. "purpose" = "Internal Services for Systems",
  22. "cidr" = "10.40.0.0/22",
  23. "tgw_attached" = false, # Attached via tgw creation
  24. },
  25. "vpc-qualys" = {
  26. "name" = "vpc-qualys",
  27. "purpose" = "Security Scanning",
  28. "cidr" = "10.40.12.0/22",
  29. "tgw_attached" = true,
  30. },
  31. "vpc-interconnects" = {
  32. "name" = "vpc-interconnects",
  33. "purpose" = "Interconnections between AWS partitions",
  34. "cidr" = "10.179.0.0/22",
  35. "tgw_attached" = true,
  36. },
  37. "vpc-access" = {
  38. "name" = "vpc-access"
  39. "purpose" = "Systems providing restricted access, such as bastions and vpn concentrators"
  40. "cidr" = "10.40.20.0/22",
  41. "tgw_attached" = true,
  42. },
  43. "vpc-portal" = {
  44. "name" = "vpc-portal"
  45. "purpose" = "The Customer Portal"
  46. "cidr" = "10.40.32.0/24",
  47. "tgw_attached" = true,
  48. },
  49. "vpc-public" = {
  50. "name" = "vpc-public"
  51. "purpose" = "Publicly Accessible Infrastructure Services, such as GHE and Jira"
  52. "cidr" = "10.40.24.0/22",
  53. "tgw_attached" = true,
  54. },
  55. "vpc-private-services" = {
  56. "name" = "vpc-private-services"
  57. "purpose" = "Private XDR Services for XDR users"
  58. "cidr" = "10.40.28.0/22",
  59. "tgw_attached" = true,
  60. },
  61. }
  62. # DNS Resolver
  63. resolver_instance_type = "t3a.micro"
  64. resolver_instance_key_name = "fdamstra"
  65. # For testing
  66. create_test_instance = false
  67. test_instance_key_name = "fdamstra" # They with which to provision the test instance
  68. # AS Number used for various resources, but not every account needs one.
  69. asn = 64810
  70. security_vpc_cidr = "10.179.0.0/22"
  71. # Interconnects
  72. interconnect_asn = 64888
  73. interconnects_instance_type = "t3a.micro"
  74. interconnects_key_name = "fdamstra" # DO NOT CHANGE
  75. interconnects_count = 2
  76. interconnect_instances_path = "../018-interconnect-instances"
  77. }