From 0af014ea98af6d9f20b90a67cf0b65ae27878e50 Mon Sep 17 00:00:00 2001 From: badra001 Date: Wed, 17 Mar 2021 09:17:41 -0400 Subject: [PATCH] update code --- ses-domain/bin/move-to-production.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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"