pip install awscli --upgrade --user
https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html
brew upgrade
brew update
brew tap aws/tap
brew install aws-sam-cli
sam --version
This bucket stores the resource files.
Create bucket (the name is globally unique across all AWS users. example name, your-app-lambda-resources):
aws s3 mb s3://<YOUR_BUCKET_NAME>
Package:
sam package --template-file template.yaml --output-template-file packaged.yaml --s3-bucket <YOUR_BUCKET_NAME>
Deploy:
aws cloudformation deploy --template-file /Users/timothyjordison/Documents/personal/repos/basic-rest/infrastructure/packaged.yaml --stack-name snake-app --capabilities CAPABILITY_IAM