Changing the region does not work however the CLI region option does



I am using a python template and in the serverless.yml file I changed the default region to
name: aws
runtime: python2.7
profile: serverless-admin
region: eu-west-1

When I deploy using sls deploy -v, the service gets deployed to the default region in North Virginia. The only way this works is if I specified the region like this sls deploy --region eu-west-1 but not when I change it from the serverless.yml file.
Any ideas?


@djacobos can you tell me what region is set for the serverless-admin profile that you are using?


There is no issue here Sorry. My CLI was pointing to the wrong directory.