Hello,
I’ve set up a small serverless function in the us-west-2 region. However when I invoke it using local
serverless invoke local --function test --path data.json
the function runs in the US-EAST-1 region ignoring the yaml configuration. Is the region property not configurable when the function is being run in local mode? Or have I made some mistake in my YAML file? Here’s my configuration:-
service: test-service
provider:
name: aws
region: us-west-2
runtime: nodejs4.3
functions:
test:
handler: index.test
events:
- http:
path: test
method: post
Thanks,
Akshat