terraform apply. The provider talks to the same public API as the dashboard and the CLI; the difference is the workflow: declarative state instead of imperative commands.
For one-off operations and shell-driven workflows, use the CLI. For everything that should be reproducible and code-reviewable — production VMs, project structure, customer multi-tenancy — use Terraform.
View on Terraform Registry
registry.terraform.io/providers/RaffTechnologies/raff/latest — auto-generated schema docs for every resource and data source, plus version history.
Resources
Compute
Networking
Team & access control
Data sources
Every resource has a singular (by ID) and plural (list) data source — see the Data sources section at the bottom of each resource page. Catalog/lookup data sources (regions, OS templates, pricing) live on the Catalog data sources page.Quick start
Authentication
The provider takes an API key via either theapi_key block argument or the RAFF_API_KEY environment variable. Same precedence as the CLI: block argument > env var.
Provider configuration block
What’s covered
The provider tracks the customer-facing public API. Every resource group exposed by the API has a Terraform resource and matching data sources today: compute, storage, networking, identity. Kubernetes and Object Storage are still rolling out at the API level and will land in the provider once those endpoints stabilize.Versioning and upgrades
The provider follows semantic versioning. Major-version bumps may include breaking changes to resource schemas; minor and patch versions are backward-compatible additions and bug fixes. Pin a specific version in yourrequired_providers block to control upgrades:
Where to go next
Install the provider
Registry installation, local development, and version pinning.
raff_vm
Manage Virtual Machines.
raff_volume
Block storage volumes.
raff_vpc
Private networks.
Catalog data sources
Regions, templates, pricing.
Terraform Registry
Auto-generated schema docs.
CLI
Imperative alternative for non-IaC workflows.