Default AWS Region

Hi,

Im fairly new to Serverless, so apologies if this is a dumb question.

I’ve got the AWS cli set up to use a specific region (eu-west-2) as my default region. When I deploy with Serverless though, it defaults to us-east-1 if I don’t specify the region within the serverless.yml file.

If I specify the region to deploy to in my serverless.yml, it does deploy to the specified region.

Is this expected? Does Serverless ignore the default region specified by my AWS configuration if I don’t specify one in serverless.yml and always default to us-east-1?

Thanks,

Dave.

Yes.

The default region for the Serverless Framework is us-east-1 unless you override it in the serverless.yml or the command line during deployment.

1 Like