Overview
The Terraform Exporter converts your Qovery environment configuration into Terraform manifests, enabling you to transition from UI-based setup to infrastructure-as-code management without manually writing configurations.Build your infrastructure in the Qovery Console, then export everything as Terraform code for version control and automation.
What Gets Exported
The exporter generates a complete Terraform configuration including:- Environment: Name, mode, cluster assignment, variables, deployment rules
- Services: Applications, databases, jobs, and Helm charts with all their configurations
- Resources: Organization, project, and cluster data sources
- Configuration: Advanced settings, ports, resource limits, auto-deploy settings
- Secrets (optional): Environment variables and secrets
How to Export
Using Exported Configuration
If you imported resources correctly,
terraform plan should show no or minimal changes.Best Practices
- Never commit secrets to version control - use environment variables or secret managers
- Import existing resources before applying to avoid recreation
- Use remote state backend (S3, Terraform Cloud) for team collaboration
- Keep exported configurations in separate directories per environment
Next Steps
Terraform Provider
Learn about the Qovery Terraform Provider
Terraform Examples
Explore Terraform configuration examples
Terraform Registry
Complete provider documentation
Environment Variables
Manage environment variables and secrets