first of all I want to say, that I pretty love the serverless way of creating new applications.
I played around with the example from the guide and I’m using the aws-cli with my main AWS account. I want to test the lambda stuff using my personal account and created a new user with administrative permissions. I added it like this to the ~/.aws/credentials file:
[default] aws_access_key_id = ******* aws_secret_access_key = ******* [serverless] aws_access_key_id = ******* aws_secret_access_key = *******
After doing this and creating a new serverless function I updated the provider section inside of serverless.yml like this:
provider: name: aws runtime: nodejs4.3 profile: serverless stage: dev region: eu-central-1
As you can see I’m trying to use the serverless profile here but whenever I execute
serverless deploy it deploys to my default account.
Do you have any idea what’s wrong here??
Thanks and best regards.