Infrastructure as Code

Terraform Provider

Deploy and manage your DanubeData infrastructure with code. Version control, reproducible deployments, and team collaboration built-in.

Get €50 free credit for your first 30 days
Official Provider
9 Resources
4 Data Sources
EU Datacenters
main.tf
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 init
terraform apply

9 Resources to Manage Your Infrastructure

Everything you need to deploy a complete cloud infrastructure with Terraform.

danubedata_vps

Virtual Machines

Deploy KubeVirt-powered VMs with shared or dedicated CPU, NVMe storage, and dual-stack networking.

danubedata_database

Managed Databases

MySQL, PostgreSQL, and MariaDB with automated backups, replicas, and SSL connections.

danubedata_cache

In-Memory Cache

Redis, Valkey, and Dragonfly cache instances with configurable memory and replication.

danubedata_storage_bucket

Object Storage

S3-compatible buckets with versioning, encryption, and lifecycle policies.

danubedata_storage_access_key

Storage Credentials

Access keys for S3-compatible storage with optional expiration dates.

danubedata_ssh_key

SSH Keys

Manage SSH keys for secure VPS authentication with fingerprint tracking.

danubedata_serverless

Serverless Containers

Knative-based containers with scale-to-zero, auto-scaling, and environment variables.

danubedata_firewall

Network Security

Firewall rules with inbound/outbound control, protocol filtering, and priority ordering.

danubedata_vps_snapshot

VM Backups

Point-in-time snapshots of VPS instances for disaster recovery and cloning.

4 Data Sources

Query existing infrastructure and available options.

danubedata_vps_images

VPS Images

List available OS images with versions

danubedata_cache_providers

Cache Providers

Query available cache providers

danubedata_database_providers

Database Providers

Query available database engines

danubedata_ssh_keys

SSH 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.

ComplianceGovernanceAudit Trails

Multi-Environment Deployments

Promote infrastructure changes through dev, staging, and production with consistent configurations.

Dev/Staging/ProdWorkspacesVariables

Disaster Recovery

Recreate your entire infrastructure from code in minutes. Backup configurations, not just data.

RTO/RPOBackupRecovery

Self-Service Platform

Enable developers to provision infrastructure within guardrails using modules and policies.

Developer ExperienceModulesPolicies

Frequently Asked Questions

Everything you need to know about the Terraform provider

Start Building with Terraform

Deploy your infrastructure in minutes. Full state management, drift detection, and team collaboration.

Get €50 free credit for your first 30 days