scaleway / serverless-scaleway-functions

Plugin for Serverless Framework to allow users to deploy their serverless applications on Scaleway Functions
MIT License
78 stars 25 forks source link

Update README.md to clarify that users need to login to Serverless CLI #174

Closed eliasm307 closed 1 year ago

eliasm307 commented 1 year ago

Summary

What's changed?

Updated documentation for setting up

Why do we need this?

It wasnt clear that users need to also log in to a separate Serverless account on the CLI. I just spent some time trying to debug this as I was getting an "authentication is denied" error and thought it was a Scaleway issue.

How have you tested it?

I have logged in which resolved my issue

Checklist

Details

Shillaker commented 1 year ago

Hi @eliasm307 thanks for the PR. I will double check but I don't think logging into Serverless is necessary to use this plugin. As you first assumed, you only need to authenticate with the Scaleway CLI.

Can you share a use-case of what you're doing, are you using some other Serverless Framework features that require a login?

eliasm307 commented 1 year ago

Hi @Shillaker I am not using other Serverless Framework features, this was the first time installing this on my machine. I just followed the documentation from Scaleway and was getting that authentication error, I also had the Scaleway CLI installed and logged in but still had an issue, only logging into Severless separately resolved the issue

Shillaker commented 1 year ago

Hmm, ok thank you for the update @eliasm307. Did you set up the Scaleway CLI and log in via that? The plugin needs to have the Scaleway CLI set up, then will automatically use your credentials from there. It's possible that a permission error with Scaleway was causing the issue.

eliasm307 commented 1 year ago

Hi @Shillaker, yes I had the scaleway cli setup and logged in but still had the issue, until I logged into serverless separately

Shillaker commented 1 year ago

Hi @eliasm307, several of us have tried this and found that it is not necessary to log in to Serverless. I'm going to close the PR but thank you for the input, and let us know here or in the Scaleway community if you have any more issues.

eliasm307 commented 1 year ago

@Shillaker weird, i wonder if it's something to do with my setup or maybe I did the steps wrong 🤷🏾

Either way thanks for looking into it