diff --git a/ses-domain/bin/move-to-production.sh b/ses-domain/bin/move-to-production.sh index 16a13df..2ffd271 100644 --- a/ses-domain/bin/move-to-production.sh +++ b/ses-domain/bin/move-to-production.sh @@ -16,6 +16,12 @@ then exit 1 fi +if [[ -z $AWS_PROFILE ]] || [[ -z $AWS_DEFAULT_REGION ] +then + echo "* missing AWS_PROFILE=$AWS_PROFILE or AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION" + exit 1 +fi + if [ -z $SES_USE_CASE_DESCRIPTION ] then SES_USE_CASE_DESCRIPTION="Used for alerting and notification from lambda and other applications to users within our own enterprise mail system"