Skip to content

Instantly share code, notes, and snippets.

@markymarkus
Last active January 24, 2020 08:09
Show Gist options
  • Save markymarkus/76984ee6025548f77511f41e3b2a568a to your computer and use it in GitHub Desktop.
Save markymarkus/76984ee6025548f77511f41e3b2a568a to your computer and use it in GitHub Desktop.
# pacakaging and deploying sam function
sam build --use-container -m ./requirements.txt
sam package --s3-bucket DEPLOYMENT-BUCKET --output-template-file packaged.yaml --region eu-west-1
sam deploy --template-file ./packaged.yaml --stack-name CLOUDFORMATION-STACK-NAME --capabilities CAPABILITY_IAM --region eu-west-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment