Skip to content

Commit

Permalink
Set termination protection
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Jun 21, 2024
1 parent 38e0754 commit 062535c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,19 @@ jobs:
- name: Deploy CloudFormation stack
run: |
rm samconfig.toml
stack_name=health-events-toolkit
sam build && sam deploy \
--region us-east-2 \
--no-confirm-changeset \
--no-fail-on-empty-changeset \
--stack-name health-events-toolkit \
--stack-name "$stack_name" \
--resolve-s3 \
--no-progressbar \
--s3-prefix health-events-toolkit \
--s3-prefix "$stack_name" \
--capabilities CAPABILITY_IAM \
--role-arn arn:aws:iam::048723829744:role/PRX-GHA-ServiceRoleForCloudFormation
aws cloudformation update-termination-protection \
--stack-name "$stack_name"
--enable-termination-protection

0 comments on commit 062535c

Please sign in to comment.