Terraform provider
Terraform provider
Declarative infrastructure for your Nodara account. Compatible with Terraform 1.6+ and OpenTofu 1.7+.
Install
Available on the Terraform Registry as nodara-host/nodara. Latest: v0.9.2.
terraform init
# main.tf terraform { required_providers { nodara = { source = "nodara-host/nodara" version = "~> 0.9" } } }
Quickstart
A minimal working config that rents one instance with a weekly snapshot:
instance.tf
provider "nodara" { token = var.nodara_token } resource "nodara_instance" "web" { hostname = "web-01" plan_id = "nv-4x" region = "FRA" image = "ubuntu-24.04" ssh_keys = [nodara_ssh_key.mine.id] } resource "nodara_snapshot_schedule" "weekly" { instance_id = nodara_instance.web.id cron = "0 3 * * 0" retention_count = 4 }
Resources
nodara_instancenodara_snapshotnodara_snapshot_schedulenodara_ssh_keynodara_vpcnodara_firewallnodara_reserved_ip
Remote state
Nodara doesn't host Terraform state directly. We recommend Terraform Cloud or an S3-compatible object store (Cloudflare R2, Backblaze B2) with DynamoDB or Postgres for locking. The provider is stateless on our side — every apply reconciles against the API.