Hi
In serverless.yml file, I can specify the stage and region for my functions by using provider.
provider:
name: aws
runtime: nodejs4.3
stage: dev
region: ap-northeast-1
I was wondering there is a way to assign the region and stage into each function. Like…
function:
myUniqueFunction:
handler: hander.js
stage: v1
region: ap-northeast-2
As a workaround, I compress the function files with deploy -n command and upload the zip file to the target region manually. If there is no way to handle this problem in severless.yml, is there better way to do this?