Sydney
Progress checklist
Overview
Section titled “Overview”syd-hub owns the Sydney Transit Gateway, inspection VPC (10.255.0.0/24),
inspection / no-inspection route tables, and the RAM share spokes use.
Network Firewall is off. Mesh first; NFW is Network Firewall → Sydney.
Validate this Region, then Auckland, then Hubs → Validate.
-
Configure and apply:
Terminal window cd environment/sandbox/ap-southeast-2/hubcp terraform.tfvars.example terraform.tfvars# hub_profile, workload_account_ids = [dev, prod]# leave:# enable_network_firewall = false# firewall_rules_enabled = falseterraform initterraform apply -
Capture outputs:
Terminal window export AWS_PROFILE=YOUR_HUB_PROFILESYD_TGW=$(terraform output -raw transit_gateway_id)terraform output -raw transit_gateway_idterraform output -raw inspection_vpc_idterraform output -raw inspection_vpc_cidrterraform output -raw inspection_attachment_idterraform output -raw enable_network_firewallterraform output -raw firewall_rules_enabledterraform output -raw spoke_association_route_table_idterraform output -raw no_inspection_route_table_idterraform output -raw inspection_route_table_idtgw-04fc7f3ccf224fdf2vpc-04a40ca73a73d91ef10.255.0.0/24tgw-attach-023a756ffaa0fd02afalsefalsetgw-rtb-00be3893a2741a265 # spoke_association == no_inspectiontgw-rtb-00be3893a2741a265tgw-rtb-09996f46ffff7d5c6 # inspection exists; unused by spokes yet
Validate
Section titled “Validate”-
Transit Gateway state and ASN:
Terminal window aws ec2 describe-transit-gateways \--region ap-southeast-2 \--transit-gateway-ids "$SYD_TGW" \--query 'TransitGateways[0].{State:State,Asn:Options.AmazonSideAsn}' \--output table| Asn | State || 65001 | available | -
Inspection VPC attachment:
Terminal window ATT=$(terraform output -raw inspection_attachment_id)aws ec2 describe-transit-gateway-vpc-attachments \--region ap-southeast-2 \--transit-gateway-attachment-ids "$ATT" \--query 'TransitGatewayVpcAttachments[0].{Id:TransitGatewayAttachmentId,State:State,Vpc:VpcId}' \--output table| tgw-attach-023a756ffaa0fd02a | available | vpc-04a40ca73a73d91ef | -
NFW not attached:
Terminal window terraform output -raw enable_network_firewallterraform output -raw firewall_arnfalse(
firewall_arnis empty / null.) -
RAM share:
Terminal window aws ram get-resource-shares \--region ap-southeast-2 \--resource-owner SELF \--query 'resourceShares[?contains(name, `nfw-lab`)].[name,status]' \--output table| nfw-lab-syd-tgw-share | ACTIVE |