Skip to content

Instantly share code, notes, and snippets.

@danilop
Last active June 11, 2018 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danilop/3337a2ef516dcf8dce5fc810cc8bbf42 to your computer and use it in GitHub Desktop.
Save danilop/3337a2ef516dcf8dce5fc810cc8bbf42 to your computer and use it in GitHub Desktop.
AWS CLI package/deploy of a SAM template for a serverless application using safe deployments
aws cloudformation package -s3-bucket <YOUR_BUCKET> -s3-prefix packages \
-template-file template.yaml -output-template-file packaged.yaml
aws cloudformation deploy -template-file packaged.yaml \
-stack-name EvolutionaryDeployment -capabilities CAPABILITY_IAM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment