serverless-scaleway-functions icon indicating copy to clipboard operation
serverless-scaleway-functions copied to clipboard

Support private functions and passing context in `serverless invoke`

Open korridor opened this issue 2 years ago • 1 comments

As far as I understand the code, the serverless invoke command is currently missing two important features.

  1. It does not work with private functions/containers.
  2. I can not pass any context with arguments like --context, --data, --contextPath, --raw and --env to the invoked function.

Are there any plans to add this in the near future?

korridor avatar Aug 13 '22 13:08 korridor

Hello 👋

serverless invokeon private functions or containers is not available for the moment but we will implement it alongside missing arguments and options.

We aim to be fully compliant with the Serverless CLI spec : https://www.serverless.com/framework/docs/providers/aws/cli-reference/invoke

Stay tuned for new releases 😄

thomas-tacquet avatar Aug 29 '22 07:08 thomas-tacquet

I close the issue as this is a part of our roadmap, thank you for requesting changes 👌

thomas-tacquet avatar Sep 22 '22 12:09 thomas-tacquet