Does not support --profile option
thinkski opened this issue · comments
Chris Hiszpanski commented
The plugin does not support invoking deploy with --profile
option. slss deploy --profile profileName
throws:
...
/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/request.js:31
throw err;
^
Error: CredentialsError: Missing credentials in config
at ClientRequest.<anonymous> (/usr/local/lib/node_modules/serverless/node_modules/aws-sdk/lib/http/node.js:83:34)
...
AWS_PROFILE=profileName slss deploy
works without issue.