- An
SNS_TOPIC_ARN
environment variable must be set for the SNS topic that you want to use - AWS Lambda must have permission to publish on SNS ARN
sam deploy -t package.yaml --guided
note: requires samconfig.toml - see docs for more info
Run the release.sh
script under scripts/ directory
From project root:
./scripts/release.sh
aws lambda invoke --cli-binary-format raw-in-base64-out --function-name commit-checker-stack-CommitChecker-lVlrMRBDMr6X --payload '{"date": "2022-01-02T18:44:49Z" }' output.json && cat output.json
aws cloudformation delete-stack --stack_name <value>