
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
- Unexpected File Persistence Across Appwr...
I'm encountering an issue where files created during an Appwrite Function execution persist across subsequent executions. Specifically, when a function writes a...
- Import "appwrite.exceptions" could not b...
Import "appwrite.exceptions" could not be resolved I tried using many versions of appwrite but this error still occuring. Please help me to fix it.
- Cannot connect to SMTP in AppWrite - set...
This used to work and then at some point it stopped. One thing that happened in that time was moving my application to Vercel. I have read on another thread t...
