account.hcl 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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"
  5. account_alias = "afs-mdr-prod-c2"
  6. aws_account_id = "045312110490"
  7. instance_termination_protection = true # set to true for production!
  8. splunk_prefix = "moose"
  9. account_tags = {
  10. "Client" : local.splunk_prefix
  11. }
  12. c2_account_standards_path = "../../mdr-prod-c2/005-account-standards-c2"
  13. # For CIDR assignment, see https://github.mdr.defpoint.com/mdr-engineering/msoc-infrastructure/wiki/IP-Address-Allocation
  14. vpc_info = {
  15. "vpc-system-services" = {
  16. "name" = "vpc-system-services",
  17. "purpose" = "Internal Services for Systems",
  18. "cidr" = "10.32.0.0/22",
  19. "tgw_attached" = false, # Attached via tgw creation
  20. },
  21. "vpc-qualys" = {
  22. "name" = "vpc-qualys",
  23. "purpose" = "Security Scanning",
  24. "cidr" = "10.32.12.0/22",
  25. "tgw_attached" = true,
  26. },
  27. "vpc-security" = {
  28. "name" = "vpc-interconnects",
  29. "purpose" = "Interconnections between AWS partitions",
  30. "cidr" = "10.179.4.0/22",
  31. "tgw_attached" = true,
  32. }
  33. }
  34. # DNS Resolver
  35. resolver_instance_type = "t3a.micro"
  36. # AS Number used for various resources, but not every account needs one.
  37. asn = 64800
  38. security_vpc_cidr = "10.179.4.0/22"
  39. # Interconnects
  40. interconnect_asn = 64888
  41. interconnects_instance_type = "t3a.micro"
  42. interconnects_key_name = "fdamstra" # DO NOT CHANGE
  43. interconnects_count = 2
  44. interconnect_instances_path = "../../../aws-us-gov/mdr-prod-c2/018-interconnect-instances"
  45. }