diff --git a/examples/snippets/stacks/workflows/quickstart/foundation/network.yaml b/examples/snippets/stacks/workflows/quickstart/foundation/network.yaml index 804feadf4..3a3144a74 100644 --- a/examples/snippets/stacks/workflows/quickstart/foundation/network.yaml +++ b/examples/snippets/stacks/workflows/quickstart/foundation/network.yaml @@ -15,13 +15,15 @@ workflows: description: Vendor component dependencies for the network layer. steps: - command: vendor pull --component tgw/hub - - command: vendor pull --component tgw/spoke + - command: vendor pull --component tgw/attachment + - command: vendor pull --component tgw/routes - command: vendor pull --component acm - command: vendor pull --component bastion - command: vendor pull --component dns-delegated - command: vendor pull --component dns-primary - command: vendor pull --component ec2-client-vpn - command: vendor pull --component vpc + - command: vendor pull --component vpc-routes deploy/vpc: description: Provision VPCs for the network layer. @@ -42,22 +44,25 @@ workflows: command: wipe-default-vpcs deploy/tgw: - description: Provision the Transit Gateway "hub" and "spokes" for connecting VPCs. + description: Provision the Transit Gateway for connecting VPCs, including all attachments and routes. steps: - command: terraform deploy tgw/hub -s core-use1-network - name: hub - - command: terraform deploy tgw/spoke -s core-use1-network - - command: echo 'Creating core spokes for Transit Gateway' - type: shell - name: core-spokes - - command: terraform deploy tgw/spoke -s core-use1-auto - - command: terraform deploy tgw/spoke -s plat-use1-sandbox - - command: echo 'Creating platform spokes for Transit Gateway' - type: shell - name: plat-spokes - - command: terraform deploy tgw/spoke -s plat-use1-dev - - command: terraform deploy tgw/spoke -s plat-use1-staging - - command: terraform deploy tgw/spoke -s plat-use1-prod + - command: terraform deploy tgw/attachment -s core-use1-network + - command: terraform deploy tgw/attachment -s core-use1-auto + - command: terraform deploy tgw/attachment -s plat-use1-sandbox + - command: terraform deploy tgw/attachment -s plat-use1-dev + - command: terraform deploy tgw/attachment -s plat-use1-staging + - command: terraform deploy tgw/attachment -s plat-use1-prod + - command: terraform deploy tgw/routes -s core-use1-network + - command: terraform deploy tgw/routes -s plat-use1-sandbox + - command: terraform deploy tgw/routes -s plat-use1-dev + - command: terraform deploy tgw/routes -s plat-use1-staging + - command: terraform deploy tgw/routes -s plat-use1-prod + - command: terraform deploy vpc/routes/private -s core-use1-network + - command: terraform deploy vpc/routes/private -s plat-use1-sandbox + - command: terraform deploy vpc/routes/private -s plat-use1-dev + - command: terraform deploy vpc/routes/private -s plat-use1-staging + - command: terraform deploy vpc/routes/private -s plat-use1-prod deploy/dns: description: Configure the DNS "primary" and "delegated" stacks.