Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Region should not default to us-east-1 #48

Open
mildebrandt opened this issue Dec 4, 2019 · 2 comments
Open

Region should not default to us-east-1 #48

mildebrandt opened this issue Dec 4, 2019 · 2 comments

Comments

@mildebrandt
Copy link

When running in an ECS container, I would expect the package to inherit the AWS settings from the container instead of defaulting to us-east-1. I would rather not specify the region since the container knows where it is.

@hectcastro
Copy link
Contributor

Hey @mildebrandt, I think the reason why we require this setting is because SES is not available in all regions. We have application instances running in ECS currently that use a different SES region endpoint than the region they operate in.

@mildebrandt
Copy link
Author

Hi @hectcastro!

So, what I did was stand-up an ECS container in us-west-2 without any settings pointing to a specific region, and it attempted to send e-mail through us-east-1. If SES is not available in the region my container is in, then I would expect the API call to fail. Making the default us-east-1 will fail for anyone using other regions since their e-mail addresses aren't verified in us-east-1.

This issue is about changing the default from us-east-1 to the region of the instance. I think that would be a more logical default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants