Terraform Provider
Deploy and manage your DanubeData infrastructure with code. Version control, reproducible deployments, and team collaboration built-in.
terraform {
required_providers {
danubedata = {
source = "AdrianSilaghi/danubedata"
version = "~> 0.1"
}
}
}
provider "danubedata" {}
resource "danubedata_vps" "web" {
name = "web-server"
image = "ubuntu-24.04"
datacenter = "fsn1"
}terraform initterraform apply9 Resources to Manage Your Infrastructure
Everything you need to deploy a complete cloud infrastructure with Terraform.
danubedata_vpsVirtual Machines
Deploy KubeVirt-powered VMs with shared or dedicated CPU, NVMe storage, and dual-stack networking.
danubedata_databaseManaged Databases
MySQL, PostgreSQL, and MariaDB with automated backups, replicas, and SSL connections.
danubedata_cacheIn-Memory Cache
Redis, Valkey, and Dragonfly cache instances with configurable memory and replication.
danubedata_storage_bucketObject Storage
S3-compatible buckets with versioning, encryption, and lifecycle policies.
danubedata_storage_access_keyStorage Credentials
Access keys for S3-compatible storage with optional expiration dates.
danubedata_ssh_keySSH Keys
Manage SSH keys for secure VPS authentication with fingerprint tracking.
danubedata_serverlessServerless Containers
Knative-based containers with scale-to-zero, auto-scaling, and environment variables.
danubedata_firewallNetwork Security
Firewall rules with inbound/outbound control, protocol filtering, and priority ordering.
danubedata_vps_snapshotVM Backups
Point-in-time snapshots of VPS instances for disaster recovery and cloning.
4 Data Sources
Query existing infrastructure and available options.
danubedata_vps_imagesVPS Images
List available OS images with versions
danubedata_cache_providersCache Providers
Query available cache providers
danubedata_database_providersDatabase Providers
Query available database engines
danubedata_ssh_keysSSH Keys
List existing SSH keys in your account
Real-World Examples
Copy and paste these examples to get started quickly
terraform {
required_providers {
danubedata = {
source = "AdrianSilaghi/danubedata"
version = "~> 0.1"
}
}
}
provider "danubedata" {
# Uses DANUBEDATA_API_TOKEN environment variable
# api_token = "your-api-token" # Or set directly (not recommended)
}Why Infrastructure as Code?
Modern DevOps practices for reliable, scalable infrastructure
Version Control
Track infrastructure changes with Git. Review, audit, and rollback deployments with full history.
State Management
Terraform state tracks deployed resources. Use remote backends for team collaboration.
Reusable Modules
Package infrastructure as modules. Share and reuse configurations across teams and projects.
CI/CD Integration
Automate deployments with GitHub Actions, GitLab CI, or any CI/CD platform.
Drift Detection
Detect and fix configuration drift. Keep your infrastructure in sync with your code.
Cost Estimation
Preview costs before deployment with terraform plan. Monthly costs returned for all resources.
Team Collaboration
Share configurations across teams. Enable self-service infrastructure with guardrails.
Multi-Environment
Deploy to dev, staging, and production from a single codebase using workspaces.
Built for Every Team
From startups to enterprise organizations
Enterprise Infrastructure as Code
Standardize infrastructure across your organization with version-controlled Terraform configurations.
Multi-Environment Deployments
Promote infrastructure changes through dev, staging, and production with consistent configurations.
Disaster Recovery
Recreate your entire infrastructure from code in minutes. Backup configurations, not just data.
Self-Service Platform
Enable developers to provision infrastructure within guardrails using modules and policies.
Frequently Asked Questions
Everything you need to know about the Terraform provider
Deploy These Services with Terraform
Start Building with Terraform
Deploy your infrastructure in minutes. Full state management, drift detection, and team collaboration.