Skip to content

Commit e6fd3d7

Browse files
Benbentwogithub-actions[bot]
authored andcommitted
(github actions) generated latest snippets
1 parent f62c0c7 commit e6fd3d7

2 files changed

Lines changed: 34 additions & 3 deletions

File tree

examples/snippets/stacks/workflows/identity.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ workflows:
2424
all:
2525
description: Run all workflows
2626
steps:
27+
- command: workflow check-setup -f identity
2728
- command: workflow vendor -f identity
2829
- command: workflow deploy/all -f identity
2930

@@ -44,7 +45,6 @@ workflows:
4445
vendor/aws-config:
4546
description: Vendor aws-config script.
4647
steps:
47-
- command: workflow check-setup -f identity
4848
- name: vendor-aws-config
4949
type: shell
5050
command: |-
@@ -61,6 +61,7 @@ workflows:
6161
- command: workflow deploy/saml -f identity
6262
- command: workflow deploy/sso -f identity
6363
- command: workflow deploy/teams -f identity
64+
- command: workflow update-aws-config -f identity
6465

6566
deploy/saml:
6667
description: Update aws-saml configuration (when adding a new Identity Provider).
@@ -88,12 +89,10 @@ workflows:
8889
- command: terraform deploy aws-team-roles -s plat-gbl-prod
8990
- command: terraform deploy aws-team-roles -s plat-gbl-sandbox
9091
- command: terraform deploy aws-team-roles -s plat-gbl-staging
91-
- command: workflow update-aws-config -f identity
9292

9393
update-aws-config:
9494
description: Update AWS Config files.
9595
steps:
96-
- command: workflow check-setup -f identity
9796
- name: update-aws-config
9897
type: shell
9998
command: |-
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
2+
3+
# Dont forget to run
4+
# export AWS_ACCESS_KEY_ID=test
5+
# export AWS_SECRET_ACCESS_KEY=test
6+
workflows:
7+
all:
8+
description: run all workflows
9+
steps:
10+
- command: workflow vendor -f baseline
11+
- command: workflow init/tfstate -f localstack
12+
- command: workflow deploy/accounts -f accounts
13+
- command: workflow deploy/tfstate -f baseline
14+
- command: workflow vendor -f identity
15+
- command: workflow deploy/saml -f identity
16+
- command: workflow deploy/teams -f identity
17+
- command: workflow update-aws-config -f identity
18+
- command: workflow vendor -f network
19+
- command: workflow deploy/vpc -f network
20+
# - command: workflow deploy/tgw -f network
21+
- command: workflow deploy/dns -f network
22+
# - command: workflow deploy/vpn -f network
23+
24+
# A slightly different version than the typical baseline
25+
init/tfstate:
26+
description: Provision Terraform State Backend for initial deployment.
27+
steps:
28+
- command: terraform deploy tfstate-backend -var=access_roles_enabled=false --stack core-use1-root --auto-generate-backend-file=false -- -input=false -auto-approve
29+
- command: until aws s3 ls acme-core-use1-root-tfstate; do sleep 5; done
30+
type: shell
31+
- command: terraform init tfstate-backend -s core-use1-root -- -force-copy
32+
- command: terraform deploy tfstate-backend -var=access_roles_enabled=false --stack core-use1-root --init-run-reconfigure=false

0 commit comments

Comments
 (0)