HashiCorp Terraform lets you describe infrastructure and cloud configuration in declarative files, then apply changes in a repeatable way. The official appwrite/appwrite provider connects Terraform to your Appwrite project so you can manage resources through the same workflows you use for the rest of your stack.
How does the integration work?
The provider talks to the Appwrite API using your endpoint and API key. You declare resources (for example TablesDB databases through rows, storage buckets and files, users and teams, functions and sites, messaging providers, topics, subscribers, webhooks, and backup policies) in HCL; Terraform plans and applies changes against Appwrite Cloud or a Community Edition instance.
That gives you reviewable, versioned configuration: you can codify how a project is structured, share it with your team, and align environments without re-clicking through the Console for every change.
How to implement
- Install Terraform on your machine (install guide).
- Add the provider to your Terraform configuration. See the Configuration page for
required_providers, endpoints, and environment variables. - Follow the Terraform provider docs for resource areas you need (for example Databases, Storage, Messaging, Auth, Functions, Sites, Webhooks, and Backups).
- Use the Terraform Registry for generated schemas, arguments, and import syntax for each resource.
Read more
- Terraform provider documentation on Appwrite
- Provider on the Terraform Registry
- Source repository on GitHub
