serverless-components / website

:zap: Instantly deploy static website on serverless infrastructure with zero configuration using Serverless Components.
https://serverless.com
Apache License 2.0
155 stars 49 forks source link

sls deploy gives authentication error #58

Closed sterling000 closed 4 years ago

sterling000 commented 4 years ago

Hello sls!

I have been working with sls to deploy api's for the last few weeks without many problems.

Today I decided to start looking at serverless front-end, i found the serverless learn front end tutorial and it seems out of date. The components no longer exist, so I came to this github.

I tried following the instructions here in the README, and it still fails when trying to serverless deploy.

I tried creating a brand new empty project and running...

serverless init vue-starter (this finishes fine)

cd vue-starter

serverless deploy Error: {"errorMessage":"Authentication failed. - Please contact support and provide this identifier to reference this issue - ZVQH6BXLX8QJ"}

I tried using the same access key and secret that works for my api deploys and that didn't work, I also tried creating a new set of keys for the user (which already has admin permissions) and tried those, but it seems no matter what i do, it doesn't seem to work with them in the .env file, and it also isn't using the keys that are in the ~/.aws/credentials file

sterling000 commented 4 years ago

Apparently at some point i was logged out from the serverless dashboard and there was no feedback that i needed to run sls login again.