serverless-next.js icon indicating copy to clipboard operation
serverless-next.js copied to clipboard

Deploy with aws configure profile

Open cristiam86 opened this issue 7 years ago • 1 comments

How can I use an aws profile already configured? I have tried: serverless --profile myProfile

and also in the serverless.yml file: provider: profile: myProfile

But none seems to work.

cristiam86 avatar Sep 24 '19 10:09 cristiam86

The next component credentials can be configured as per https://github.com/serverless/components#credentials.

tl;dr: You'll need a .env file with your access and secret key. Or exported env. variables.

danielcondemarin avatar Sep 24 '19 10:09 danielcondemarin