Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Auto-verify SES email address upon launching localstack
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:'
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