SES region is hardcoded to us-west-2 in AlertEmailFunction
Issue #4
resolved
Line 81: ses = boto3.client('ses', region_name='us-west-2')
Assuming the desired behavior is to default to us-west-2 (as in manager.py), the following worked for me with SES_REGION set to us-east-1:
ses_region = os.environ.get('SES_REGION', None)
if ses_region is None:
ses_region = 'us-west-2'
ses = boto3.client('ses', region_name=ses_region)
Comments (5)
-
reporter -
staff -
assigned issue to
-
assigned issue to
-
- changed status to resolved
start honouring ses region choices. Resolves
#4→ <<cset bc20ee7e7246>>
-
Merged in email-options (pull request #8)
start honouring ses region choices. Resolves
#4Approved-by: Sam Wilson swilson@atlassian.com
→ <<cset d7a1a70f627f>>
-
@CaptainCrabby definitely, sorry - this shouldn't have survived the testing phase
- Log in to comment
@danbourke should I assign this one to you as well?