account.hcl 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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-system-services" = {
  13. "name" = "vpc-system-services",
  14. "purpose" = "Internal Services for Systems",
  15. "cidr" = "10.20.0.0/22",
  16. },
  17. "vpc-qualys" = {
  18. "name" = "vpc-qualys",
  19. "purpose" = "Security Scanning",
  20. "cidr" = "10.20.12.0/22",
  21. },
  22. "vpc-interconnects" = {
  23. "name" = "vpc-interconnects",
  24. "purpose" = "Interconnections between AWS partitions",
  25. "cidr" = "10.179.128.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. # Extra customization if you want it
  35. test_instance_ami = "base" # default = minion
  36. test_instance_type = "t3a.micro" # default = t3a.micro
  37. # AS Number used for various resources, but not every account needs one.
  38. asn = 64710 # changing this replaces the gateway
  39. security_vpc_cidr = "10.179.128.0/22"
  40. # Interconnects
  41. interconnect_asn = 64777
  42. interconnects_instance_type = "t3a.micro"
  43. interconnects_key_name = "fdamstra" # DO NOT CHANGE
  44. interconnects_count = 2
  45. interconnect_instances_path = "../018-interconnect-instances"
  46. # Qualys Scanners
  47. qualys_personalization_codes = {
  48. standard = "21009597903247"
  49. preauthorized = "21005906078774"
  50. }
  51. # Qualys Connector
  52. qualys_connector_externalid = "1601148045651" # Needs to come from the qualys console
  53. }