Last active
January 14, 2022 19:53
-
-
Save douglampe/c91a4593568f4aaa121920f932545bae to your computer and use it in GitHub Desktop.
Create CloudFormation stack from template for branch in GitHub Action
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Create dev stack | |
run: | | |
aws cloudformation deploy --stack-name feature-$(echo ${GITHUB_REF##*/} | tr -cd '[a-zA-Z0-9-]') \ | |
--template-body file://cloudformation/site-resources.yml \ | |
--parameters ParameterKey=Environment,ParameterValue=Dev | |
--tags Key=environment,Value=dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment