Reputation: 857
I have a requirement to deploy my lambda artifact to 3 different regions. I am using serverless framework. My .yml file looks like this:
provider:
name: aws
runtime: nodejs4.3
stage: dev
region: us-east-1
Upvotes: 4
Views: 2958
Reputation: 1065
AFAIK it's impossible to configure deployment to multiple regions via serverless.yml
. However, you can do it via the cli, one region at a time:
serverless deploy --stage production --region eu-central-1
serverless deploy --stage production --region eu-west-1
...
You may want to automate it using your own script, implement it as a plugin, or submit a feature proposal.
Upvotes: 3