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
request: use configured AWS region instead of "us-east-1" by default #1855
Comments
Just noticed that region also needs to be properly set in serverless.yml, too. |
Even if I change all occurrences of "us-east-1" in all default files to "ap-southeast-2", I still get the following error from
Not sure where this is coming from |
This is probably the same as what I ran into; if you haven't uncommented the following it would assume the dev stage uses us-east-1:
|
I made sure that I uncommented it, but it's possible that I got the indenting wrong or something. I'll give this another try later this week. |
@danielkoo @jokeyrhyme we're currently changing our stage/region handling and include variables in #1834 and discussed in #1801 . This should sole many of those issues you've just mentioned as we're not going to expect you to set a specific region at all any more by default. |
@flomotlik awesome! Thanks! I look forward to giving it a try. I'm really liking everything about Serverless so far. Great work! |
@jokeyrhyme if you're interested you can absolutely check out the branch and give it a spin. We're looking for feedback on this anyway at the moment before we merge. |
I can confirm that it was user error prevention me from explicitly setting the region, previously. I'll take a look over the next few days to see how the branch improves things, if I can. |
I'll have a play with the branch as well, cheers @flomotlik |
Closing this as it'll be fixed with #1834 Thanks everyone! 🙌 |
Feature Request:
serverless create --template aws-nodejs
should be aware of the default region set viaaws configure
or environment variablesBenefits:
Drawbacks:
The text was updated successfully, but these errors were encountered: