This should only be run once!
# Create the base API setup
$ bash ./bin/create-stack.sh --template base
# Create a new resource
$ bash ./bin/create-stack.sh --template proxy
After every merge you can run this command to update the stack.
# Update the base API setup
$ bash ./bin/create-stack.sh --template base --update-stack
# Update the proxy resource
$ bash ./bin/create-stack.sh --template proxy --update-stack
After you update your resources you need to redeploy your stages to make the changes visible.
# Redeploy your dev stage
$ aws apigateway create-deployment --rest-api-id 'my-api-id' --stage-name 'dev'
# Redeploy your prod stage
$ aws apigateway create-deployment --rest-api-id 'my-api-id' --stage-name 'prod'