Skip to content
Back

A way to configure cloud function configs like scopes and run times in source control

  • 0
  • Functions
  • Cloud
Ateyib
27 Apr, 2025, 21:44

Is there a way to configure cloud functions locally and keep that in github and deploy from source control instead of manually configuring it from the console for each environment we work on.

TL;DR
Developers want to configure cloud function settings like scopes and run times in source control. The Appwrite CLI can help with deployments and updates based on appwrite.json. GitHub integration only initiates new deployments without changing function settings. By using the CLI for deployments and pushing functions to Git, they can ensure settings remain consistent across environments and deployments can be managed from source control.
Steven
27 Apr, 2025, 21:45

I'd recommend using the Appwrite CLI

Ateyib
27 Apr, 2025, 21:47

If I use the CLI to deploy functions and I push the same function to git, it will override it, correct?

Steven
27 Apr, 2025, 21:49

Override what? There will be a new deployment. The CLI will update the function with what's in the appwrite.json. GitHub integration doesn't do anything for the function settings. It just creates a new deployment when GitHub is updated

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