Closed skunkwerk closed 6 years ago
This seems to be supported via k8s variables, but isn't documented. Would be great to add this section to the serverless docs.
right, requirements.txt
and env variables, as well as function timeout and memory limit are all supported, but the docs are lagging
The same than #94: Documentation updates has been merged in serverless/serverless#4666
The Environment variables described under 'Provider' are still not accessible in the function handler. Is this still an issue?
@JSNHARSHA that should indeed work. Are you using the latest version of the serverless-plugin
? Can you paste here the yaml you are trying to deploy?
I didn't see any documentation for serverless variables, such as exist with AWS, example:
provider: name:aws environment: PUBSUB_KEY: pubsub_admin_key.json EVENTS_TOPIC: events
Is the passing of environment variables in this manner supported?
thanks