Jwan622
Jwan622

Reputation: 11659

setting up serverless.yml file to use a specific aws profile

Instead of running sls deploy --aws-profile <name>, is there a way to configure the serverless.yml file to just contain this information?

Upvotes: 0

Views: 122

Answers (1)

rkm
rkm

Reputation: 3141

You can do it in provider section:

provider:
  name: aws
  profile: aws-profile-name

Upvotes: 1

Related Questions