Infrastructure as code,
Qovery-native.
The Qovery Terraform Provider lets you manage clusters, environments, applications, databases, and configuration as declarative HCL. Version-controlled, reviewable, reproducible.
What you get.
Declarative environments
Define your entire environment -- services, databases, variables, deployment stages -- in a single Terraform file. Apply and converge.
GitOps workflows
Store your Terraform files in Git. Review infra changes in pull requests. Merge to apply. Drift is visible, not silent.
Import existing resources
Already using the Qovery console? `terraform import` pulls your existing environments, services, and configuration into state.
Full resource coverage
Organizations, projects, environments, applications, containers, jobs, databases, Helm charts, variables, secrets, deployment stages -- all supported.
Environment export
Use the Qovery API to export any environment as Terraform manifests. Migrate from click-ops to IaC in one command.
What you can do.
Platform team golden paths
Define a standard environment template in Terraform. Developers clone it to spin up new services that comply with your policies by default.
Multi-environment management
Manage dev, staging, and production environments as code. Promote changes through environments with Terraform workspaces or modules.
Compliance & audit
Every infrastructure change is a Git commit. Reviewable, traceable, rollbackable. Auditors love it.
Get started with Terraform
- 01Add the Qovery provider to your Terraform config
- 02Set your QOVERY_API_TOKEN environment variable
- 03Define your environment and services in HCL
- 04Run terraform plan, then terraform apply
terraform {
required_providers {
qovery = {
source = "qovery/qovery"
}
}
}
resource "qovery_environment" "production" {
project_id = qovery_project.my_project.id
name = "production"
mode = "PRODUCTION"
cluster_id = qovery_cluster.my_cluster.id
}Manage Qovery
as code.
Version-controlled infrastructure. Reviewable changes. Reproducible environments. Start with the Terraform Provider.