Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# variables
# validate
sam validate --template template.yaml
aws cloudformation validate-template \
--template-body file://template.yaml
# build
sam build --template template.yaml
# package
sam package \
--output-template-file packaged.yaml \
--s3-bucket $S3_BUILD_BUCKET
# deploy
sam deploy --template-file packaged.yaml \
--stack-name $STACK_NAME \
--capabilities CAPABILITY_IAM \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.