I do not seem to find how to specify non-default profile for AWS credentials in Serverless 1.0. How do I specify a different profile than default?
It seems from looking at the source code that setting the AWS_PROFILE environment variable to the name of the profile is the way to do it currently.
There are 2 PRs currently pending about this. https://github.com/serverless/serverless/pull/1905 and https://github.com/serverless/serverless/pull/1945
Yup this will be fixed soon as @andymac4182 mentioned
I’m trying out Serverless for the first time and found documentation outlining use of a profile to authenticate Serverless with AWS (https://github.com/serverless/serverless/blob/master/docs/02-providers/aws/01-setup.md):
The above documentation seems to conflict with this issue and the related PR’s and my attempts to set the profile in serverless.yml have failed (it simply throws the ServerlessError: AWS provider credentials not found).
I know this issue and the responses are recent, but I just wanted to follow up on this and figure out if this has been resolved yet and (if so) how I can use it. I installed Serverless via npm and it’s at 1.0.0-rc.1. Do I need to install a later version off github and do you have instructions for doing so?