Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS Lambda Serverless deploy asking for AWS provider credentials

I have configured serverless with key and secret.

When i try to run serverless deploy it says:

ServerlessError: AWS provider credentials not found. Learn how to set up AWS provider credentials in our docs here:.

Please help me what to do

like image 458
raju Avatar asked Sep 09 '17 07:09

raju


1 Answers

This is how to setup AWS credentials on the local:

  1. Sign in to AWS console
  2. Go to your AWS account overview
  3. Account menu in the upper-right (has your name on it)
  4. sub-menu: Security Credentials
  5. Copy <Access Key ID>
  6. Copy <Secret Access Key>
  7. Run on local serverless config credentials --provider aws --key <Access Key ID> --secret <Secret Access Key>
like image 148
xameeramir Avatar answered Oct 13 '22 04:10

xameeramir