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
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...