Open sanderkooger opened 1 year ago
Hello 👋
Serverless Framework supports .yaml
, .js
, .json
, .ts
but it seems to do not (fully) reconize Scaleway plugin when we use something other than .yaml
.
We'll investigate this and link a PR once done, thank you for your report 👌
Hey @thomas-tacquet, As we are discussing on Slack. Would it be a possibility to add typings for the config, handlers etc. to the plugin as well? This would really help to make TS a first class citizen on scale way serverless.
I have been looking into this. Serverless.ts is supported with a caveat. The Scaleway credentials are not being picked up, but they work when env vars are being used.
I have created a repo with a serverless.ts instead of a serverless.yml
But when i try to deploy i run into an error
Error: Invalid service configuration: "provider.name" property is missing ELIFECYCLE Command failed with exit code 1. Does anyone have an idea?