Skip to content

Commit cda8ca7

Browse files
milldrgithub-actions[bot]
authored andcommitted
(github actions) generated latest snippets
1 parent 7ac2609 commit cda8ca7

File tree

2 files changed

+2
-107
lines changed

2 files changed

+2
-107
lines changed

examples/snippets/.github/workflows/atmos-pro-terraform-apply.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ permissions:
3333
id-token: write # This is required for requesting the JWT
3434
contents: read # This is required for actions/checkout
3535

36-
jobs:
36+
jobs:
3737
atmos-apply:
3838
name: ${{ inputs.component }}-${{ inputs.stack }}
3939

examples/snippets/stacks/workflows/quickstart/platform/argocd.yaml

Lines changed: 1 addition & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -158,109 +158,4 @@ workflows:
158158
echo "Exiting."
159159
exit 0
160160
fi
161-
- command: terraform deploy sso-saml-provider -s plat-use1-prod
162-
163-
deploy/terraform-argocdrepo-pat:
164-
description: Prompt for creating the argocd/terraform/argocd-repo GitHub PAT
165-
steps:
166-
- type: shell
167-
command: |-
168-
echo "Please create a fine-grained GitHub PAT"
169-
echo "Scope: acme/argocd-deploy-non-prod and acme/argocd-deploy-prod"
170-
echo "Permissions: (Repository) Administration: Read and write, Contents: Read and write, Metadata: Read-only. (Organization) Members: Read-only"
171-
echo "Follow this manual to create PAT https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token"
172-
echo "Upload the fine-grained GitHub PAT to AWS SSM"
173-
stty -echo
174-
read -p "GitHub PAT (text will be hidden): " -r GITHUB_PAT
175-
stty echo
176-
if [ -z "GITHUB_PAT" ]
177-
then
178-
echo 'Inputs cannot be blank please try again!'
179-
exit 0
180-
fi
181-
AWS_PROFILE=acme-core-gbl-auto-admin chamber write argocd/github api_key $GITHUB_PAT
182-
183-
deploy/terraform-webhooks-nonprod-pat:
184-
description: Prompt for creating the argocd/terraform-webhooks/nonprod GitHub PAT
185-
steps:
186-
- type: shell
187-
command: |-
188-
echo "Please create a fine-grained GitHub PAT"
189-
echo "Scope: acme/argocd-deploy-non-prod"
190-
echo "Permissions: (Repository) Webhooks: Read and write, Metadata: Read-only"
191-
echo "Follow this manual to create PAT https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token"
192-
echo "Upload the fine-grained GitHub PAT to AWS SSM"
193-
stty -echo
194-
read -p "GitHub PAT (text will be hidden): " -r GITHUB_PAT
195-
stty echo
196-
if [ -z "GITHUB_PAT" ]
197-
then
198-
echo 'Inputs cannot be blank please try again!'
199-
exit 0
200-
fi
201-
AWS_PROFILE=acme-plat-gbl-dev-admin chamber write argocd/github api_key $GITHUB_PAT
202-
AWS_PROFILE=acme-plat-gbl-staging-admin chamber write argocd/github api_key $GITHUB_PAT
203-
204-
deploy/terraform-webhooks-prod-pat:
205-
description: Prompt for creating the argocd/terraform-webhooks/prod GitHub PAT
206-
steps:
207-
- type: shell
208-
command: |-
209-
echo "Please create a fine-grained GitHub PAT"
210-
echo "Scope: acme/argocd-deploy-prod"
211-
echo "Permissions: (Repository) Webhooks: Read and write, Metadata: Read-only"
212-
echo "Follow this manual to create PAT https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token"
213-
echo "Upload the fine-grained GitHub PAT to AWS SSM"
214-
stty -echo
215-
read -p "GitHub PAT (text will be hidden): " -r GITHUB_PAT
216-
stty echo
217-
if [ -z "GITHUB_PAT" ]
218-
then
219-
echo 'Inputs cannot be blank please try again!'
220-
exit 0
221-
fi
222-
AWS_PROFILE=acme-plat-gbl-prod-admin chamber write argocd/github api_key $GITHUB_PAT
223-
224-
deploy/app-notifications-pat:
225-
description: Prompt for creating the ARGOCD_APP_NOTIFICATIONS GitHub PAT
226-
steps:
227-
- type: shell
228-
command: |-
229-
echo "Please create a classic GitHub PAT"
230-
echo "Scope: n/a"
231-
echo "Permissions: repo:status"
232-
echo "Follow this manual to create PAT https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token"
233-
echo "Upload the classic GitHub PAT to AWS SSM"
234-
stty -echo
235-
read -p "GitHub PAT (text will be hidden): " -r GITHUB_PAT
236-
stty echo
237-
if [ -z "GITHUB_PAT" ]
238-
then
239-
echo 'Inputs cannot be blank please try again!'
240-
exit 0
241-
fi
242-
AWS_PROFILE=acme-plat-gbl-dev-admin chamber write argocd/notifications/notifiers/common github-token $GITHUB_PAT
243-
AWS_PROFILE=acme-plat-gbl-staging-admin chamber write argocd/notifications/notifiers/common github-token $GITHUB_PAT
244-
AWS_PROFILE=acme-plat-gbl-prod-admin chamber write argocd/notifications/notifiers/common github-token $GITHUB_PAT
245-
246-
deploy/github-nonprod-pat:
247-
description: Prompt for creating the argocd/github/nonprod GitHub PAT
248-
steps:
249-
- type: shell
250-
command: |-
251-
echo "Please create a fine-grained GitHub PAT"
252-
echo "Scope: acme/argocd-deploy-non-prod and acme/infrastructure"
253-
echo "Permissions: (Repository) Contents: Read and write, Metadata: Read-only"
254-
echo "Follow this manual to create PAT https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token"
255-
echo "Please upload this PAT to 1Password"
256-
257-
deploy/github-prod-pat:
258-
description: Prompt for creating the argocd/github/prod GitHub PAT
259-
steps:
260-
- type: shell
261-
command: |-
262-
echo "Please create a fine-grained GitHub PAT"
263-
echo "Scope: acme/argocd-deploy-prod and acme/infrastructure"
264-
echo "Permissions: (Repository) Contents: Read and write, Metadata: Read-only"
265-
echo "Follow this manual to create PAT https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token"
266-
echo "Please upload this PAT to 1Password"
161+
- command: terraform deploy sso-saml-provider -s plat-use1-prod

0 commit comments

Comments
 (0)