123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- # Set account-wide variables. These are automatically pulled in to configure the remote state bucket in the root
- # terragrunt.hcl configuration.
- locals {
- account_name = "afs-mdr-test-c2-gov"
- account_alias = "afs-mdr-test-c2-gov"
- aws_account_id = "738800754746"
- instance_termination_protection = false # set to true for production!
- splunk_prefix = "moose"
- c2_account_standards_path = "../../mdr-test-c2/005-account-standards-c2"
- # For CIDR assignment, see https://github.xdr.accenturefederalcyber.com/mdr-engineering/msoc-infrastructure/wiki/IP-Address-Allocation
- vpc_info = {
- "vpc-splunk" = {
- "name" = "vpc-splunk"
- "purpose" = "Splunk Systems (MOOSE)"
- "cidr" = "10.20.16.0/22",
- "tgw_attached" = true,
- },
- "vpc-system-services" = {
- "name" = "vpc-system-services",
- "purpose" = "Internal Services for Systems (not people)",
- "cidr" = "10.20.0.0/22",
- "tgw_attached" = false, # NOTE: This is attached via the transit gateway creation
- },
- "vpc-scanners" = {
- "name" = "vpc-scanners",
- "purpose" = "Security Scanning",
- "cidr" = "10.20.12.0/22",
- "tgw_attached" = true,
- },
- "vpc-interconnects" = {
- "name" = "vpc-interconnects",
- "purpose" = "Interconnections between AWS partitions",
- "cidr" = "10.179.128.0/22",
- "tgw_attached" = false,
- },
- "vpc-access" = {
- "name" = "vpc-access"
- "purpose" = "Systems providing restricted access, such as bastions and vpn concentrators"
- "cidr" = "10.20.20.0/22"
- "tgw_attached" = true,
- },
- "vpc-cisco" = {
- "name" = "vpc-cisco"
- "purpose" = "Cisco VPN Subnet"
- "cidr" = "10.20.36.0/22",
- "tgw_attached" = true,
- },
- "vpc-portal" = {
- "name" = "vpc-portal"
- "purpose" = "The Customer Portal"
- "cidr" = "10.20.32.0/24"
- "tgw_attached" = true,
- },
- "vpc-public" = {
- "name" = "vpc-public"
- "purpose" = "Publicly Accessible Infrastructure Services, such as GHE and Jira"
- "cidr" = "10.20.24.0/22"
- "tgw_attached" = true,
- },
- "vpc-private-services" = {
- "name" = "vpc-private-services"
- "purpose" = "Private XDR Services for XDR users"
- "cidr" = "10.20.28.0/22"
- "tgw_attached" = true,
- },
- }
- # AS Number used for the transit gateway; only in the C2 accounts
- asn = 64710 # changing this replaces the gateway
- }
|