account.hcl 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. account_tags = { }
  9. c2_account_standards_path = "../../mdr-test-c2/005-account-standards-c2"
  10. # For CIDR assignment, see https://github.mdr.defpoint.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-qualys" = {
  25. "name" = "vpc-qualys",
  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-portal" = {
  43. "name" = "vpc-portal"
  44. "purpose" = "The Customer Portal"
  45. "cidr" = "10.20.32.0/24"
  46. "tgw_attached" = true,
  47. },
  48. "vpc-public" = {
  49. "name" = "vpc-public"
  50. "purpose" = "Publicly Accessible Infrastructure Services, such as GHE and Jira"
  51. "cidr" = "10.20.24.0/22"
  52. "tgw_attached" = true,
  53. },
  54. "vpc-private-services" = {
  55. "name" = "vpc-private-services"
  56. "purpose" = "Private XDR Services for XDR users"
  57. "cidr" = "10.20.28.0/22"
  58. "tgw_attached" = true,
  59. },
  60. }
  61. # DNS Resolver
  62. resolver_instance_type = "t3a.micro"
  63. resolver_instance_key_name = "fdamstra"
  64. # For testing
  65. create_test_instance = false
  66. test_instance_key_name = "fdamstra" # They with which to provision the test instance
  67. # Extra customization if you want it
  68. test_instance_ami = "base" # default = minion
  69. test_instance_type = "t3a.micro" # default = t3a.micro
  70. # AS Number used for various resources, but not every account needs one.
  71. asn = 64710 # changing this replaces the gateway
  72. # Interconnects
  73. interconnect_asn = 64777
  74. interconnects_instance_type = "t3a.micro"
  75. interconnects_key_name = "fdamstra" # DO NOT CHANGE
  76. interconnects_count = 2
  77. interconnect_instances_path = "../018-interconnect-instances"
  78. # Qualys Scanners
  79. qualys_personalization_codes = {
  80. standard = "21009597903247"
  81. preauthorized = "21005906078774"
  82. }
  83. # Qualys Connector
  84. qualys_connector_externalid = "1601148045651" # Needs to come from the qualys console
  85. }