Back

How do I set environment variables in appwrite cloud?

  • 0
  • Accounts
  • Cloud
kstulgys
11 Jun, 2023, 06:42

I don't understand how to compare this with functions

TL;DR
The user inquires about setting environment variables in Appwrite cloud. Another user discusses the difference between server environment variables and function variables. The original poster clarifies that they are referring to server environment variables. Another user mentions that environment variables cannot be set on the cloud, as it is managed by Appwrite. The user then realizes that they can create environment variables on the cloud by using the update variable feature in the Appwrite console. It is explained that no execution or function creation is necessary for creating environment variables on the cloud. The user mentions wanting to use Twilio but is informed that setting environment variables is not required when using Appwrite cloud
kstulgys
11 Jun, 2023, 06:44

Does not mention cloud functions

Drake
11 Jun, 2023, 17:37

Oh sorry...you don't need to set these when using cloud

kstulgys
11 Jun, 2023, 18:55

But I want to use twillio!

Drake
11 Jun, 2023, 18:55

Why?

kstulgys
11 Jun, 2023, 19:01

Because in some countries when you get a message from appwrite the sender will be "likely-spam" or something like that. Anyways can I use twilio or not?

Drake
11 Jun, 2023, 19:04

Is that happening on cloud?

kstulgys
11 Jun, 2023, 19:04

yes

kstulgys
11 Jun, 2023, 19:04

I'm using appwrite cloud

conqueror
11 Jun, 2023, 19:27

see. click on function then setting and you will be able to create env variable

kstulgys
11 Jun, 2023, 19:29

I need to create a function?

kstulgys
11 Jun, 2023, 19:29

but then I need to execute it?

conqueror
11 Jun, 2023, 19:31

no(just go to appwrite console), for creating env variable you should use update variable and you can use this inside function.

kstulgys
11 Jun, 2023, 19:32
Drake
11 Jun, 2023, 19:35

Sorry, the original post has nothing to do with functions

kstulgys
11 Jun, 2023, 19:36

I'm confused...

Drake
11 Jun, 2023, 19:37

The point is you can't set environment variables on cloud. That's all managed by Appwrite

conqueror
11 Jun, 2023, 19:43

then why we are able to create env variable on cloud?

Drake
11 Jun, 2023, 19:45

No that's different. That's function variables. The original poster was talking about server environment variables: https://appwrite.io/docs/environment-variables

conqueror
11 Jun, 2023, 19:46

ok

conqueror
11 Jun, 2023, 19:49

are you talking about server environment variable or function variables ?

Bouahaza
11 Jun, 2023, 19:59

+1 to set custom sender on cloud. Europe is becoming increasingly restive about mass SMS senders (mailers too). Samsung also manages a blacklist, for example. It's going to be more and more complicated to send low-cost SMS with 100% reception rates.

kstulgys
11 Jun, 2023, 20:01

@conqueror server

conqueror
11 Jun, 2023, 20:07

srry, i was talking about function variable.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more