#Terraform or IaC

3 messages · Page 1 of 1 (latest)

shut night
#

Are there other ways to create a convex project via terraform or IaC tools because creating from UI seems very repetetive for multiple tenants

low wedgeBOT
#

Hi @shut night. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Currently, Convex provides a Management API that allows you to programmatically create projects and deployments, which can help automate repetitive tasks like provisioning multiple tenants. The API includes endpoints such as /team/:team_id/create_project for creating new projects on a team and provisioning dev or prod deployments. This approach is suitable for integrating with Infrastructure as Code (IaC) workflows, even though there is no explicit mention of a Terraform provider or direct Terraform integration in the knowledge sources.

You can use the Management API with your own scripts or automation tools to achieve similar results as you would with Terraform or other IaC tools. If you need more advanced or specific IaC support (like a native Terraform provider), the knowledge sources do not mention such an offering at this time, but you can let the Convex team know if this is a feature you'd like to see in the future Management API Create project.

In summary:

  • You can automate project creation using the Convex Management API.
  • There is no official Terraform provider or direct IaC tool integration mentioned.
  • Scripting against the Management API is currently the best way to automate multi-tenant project creation.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: