Skip to content

Instantly share code, notes, and snippets.

@pacarvalho
Created June 12, 2022 18:48
Show Gist options
  • Save pacarvalho/1617e2d5142a60f7ff5838644b3801ef to your computer and use it in GitHub Desktop.
Save pacarvalho/1617e2d5142a60f7ff5838644b3801ef to your computer and use it in GitHub Desktop.
Medium - Serverless Form - deploy.sh
#!/bin/bash
# exit when any command fails
set -e
script_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
sam deploy \
--template-file ${script_path}/../template.yaml \
--stack-name serverless-website-form-production \
--capabilities CAPABILITY_IAM \
--guided
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment