account.hcl 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. 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. vpc_info = {
  12. "vpc-system-services" = {
  13. "name" = "vpc-system-services",
  14. "purpose" = "Internal Services for Systems",
  15. "cidr" = "10.32.0.0/22",
  16. },
  17. "vpc-qualys" = {
  18. "name" = "vpc-qualys",
  19. "purpose" = "Security Scanning",
  20. "cidr" = "10.32.12.0/22",
  21. },
  22. "vpc-security" = {
  23. "name" = "vpc-interconnects",
  24. "purpose" = "Interconnections between AWS partitions",
  25. "cidr" = "10.179.4.0/22",
  26. }
  27. }
  28. # DNS Resolver
  29. resolver_instance_type = "t3a.micro"
  30. resolver_instance_key_name = "fdamstra"
  31. # For testing
  32. create_test_instance = false
  33. test_instance_key_name = "fdamstra" # They with which to provision the test instance
  34. # AS Number used for various resources, but not every account needs one.
  35. asn = 64800
  36. security_vpc_cidr = "10.179.4.0/22"
  37. # Interconnects
  38. interconnect_asn = 64888
  39. interconnects_instance_type = "t3a.micro"
  40. interconnects_key_name = "fdamstra" # DO NOT CHANGE
  41. interconnects_count = 2
  42. interconnect_instances_path = "../../../aws-us-gov/mdr-prod-c2/018-interconnect-instances"
  43. }