Browse Source

Fix SES region variable

The last version do not save the SES region into the config file, breaking the notification hook.
pull/4700/head
Steven Zhu 1 year ago
committed by GitHub
parent
commit
dd958872a8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      notify/aws_ses.sh

1
notify/aws_ses.sh

@ -43,6 +43,7 @@ aws_ses_send() {
_err "Please specify your region and try again. see https://docs.aws.amazon.com/general/latest/gr/ses.html" _err "Please specify your region and try again. see https://docs.aws.amazon.com/general/latest/gr/ses.html"
return 1 return 1
fi fi
_saveaccountconf_mutable AWS_SES_REGION "$AWS_SES_REGION"
#save for future use, unless using a role which will be fetched as needed #save for future use, unless using a role which will be fetched as needed
if [ -z "$_using_role" ]; then if [ -z "$_using_role" ]; then

Loading…
Cancel
Save