serverless-lambda-prune-plugin icon indicating copy to clipboard operation
serverless-lambda-prune-plugin copied to clipboard

default aws user is used instead of the one in admin.env

Open rentrop opened this issue 9 years ago • 0 comments

Ease of use enhancement:

Having two aws-profiles in my .aws/credentials Serverless normally takes the one specified in ./admin.env/. But tis plugin does not use this profile but takes the default one.

My .aws/credentials look as follows:

[default]
aws_access_key_id = ***
aws_secret_access_key = ***

[serverless]
aws_access_key_id = ***
aws_secret_access_key = ***
region = eu-central-1

rentrop avatar Apr 26 '16 10:04 rentrop