apps/docs/content/guides/manage/terraform-provider.mdx
The ZITADEL Terraform Provider is a tool that allows you to manage ZITADEL resources through Terraform. In other words, it lets you define and provision infrastructure for ZITADEL using Terraform configuration files.
This Terraform provider acts as a bridge, allowing you to manage various aspects of your ZITADEL instance directly through the ZITADEL API, using Terraform's declarative configuration language. It can be used to create, update, and delete ZITADEL resources, as well as to manage the relationships between those resources.
Make sure you create the following resources in ZITADEL and have Terraform installed:
The full documentation and examples are available on the Terraform registry.
To provide a small guide to where to start:
main.tffile as shown in the example.zitadel_org resource to the main.tf file, to create and manage a new organization in the instance, as shown in the example.main.tf file, as an example a user.terraform plan, to see which resources would be created and how.terraform apply.terraform destroy to clean-up.