How do I deploy a function to multiple regions?
Do I specify multiple providers?
Or do I specify a list of regions on the provider or function?
I have an RDS resource specified in my serverless.yml file, which I would only want in one region.
How do I deploy a function to multiple regions?
Do I specify multiple providers?
Or do I specify a list of regions on the provider or function?
I have an RDS resource specified in my serverless.yml file, which I would only want in one region.
You’d have to run your deploy
command multiple times, with different --region XXX
arguments.
Is it also possible to have some part of serverless framework to be deployed to one region and other parts to another region?