
Hello, how can I add env variables to the functions that I'm going to deploy in Appwrite.json?


Under the function

The param variables

takes a json object of key-value pairs for variables 😉

You save me a lot of time @VincentGe Thank you so much!

[SOLVED] How to add env variables to functions in Appwrite.json?

Btw, I have to deploy twice in order to my function takes the env variables.
Just in case for someone is useful info.

Re-opening this!

How to add env variables to functions in Appwrite.json?
Recommended threads
- Sam AWS CLI x Appwrite
Hello, I have a problem with my functions from Appwrite. Currently, we use AWS SAM CLI to simulate an API Gateway with Lambdas, where the client is initiated...
- Function does not have createDocument ac...
I have a function which I'm trying to have create a document in a collection. The collection in question has row security enabled and permissions set to grant u...
- Bug Report: Error creating file with `st...
**Problem** I’m trying to create a file in Appwrite Storage using the `node-appwrite` SDK. The `InputFile` is generated from a base64 buffer, and I’m passing a ...
