Last active
May 29, 2021 18:37
-
-
Save dvejmz/c3c7f41a11cacb61d3832d204475f0ed to your computer and use it in GitHub Desktop.
Auto-verify SES email address upon launching localstack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eo pipefail | |
## Mount this file in /docker-entrypoint-initaws.d so that localstack runs it | |
## as part of its entrypoint routine. | |
echo 'Running AWS verify identity command. See: https://github.com/localstack/localstack/issues/339' | |
aws ses verify-email-identity --email-address ${EMAIL_ADDRESS} --region ${AWS_REGION} --endpoint-url=http://localhost:4579 | |
echo "Verified ${EMAIL_ADDRESS}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment