Skip to main content
The Dedalus Terraform provider lets you declare workspaces in HCL and manage them with terraform apply.
The Terraform provider is in beta. Some features may change.

Install

terraform {
  required_providers {
    dedalus = {
      source  = "dedalus-labs/dedalus"
      version = "~> 0.0.1"
    }
  }
}

provider "dedalus" {
  api_key = var.dedalus_api_key  # or set DEDALUS_API_KEY
}

Resources

Workspace

resource "dedalus_workspace" "dev" {
  vcpu        = 2
  memory_mib  = 4096
  storage_gib = 20

  timeouts {
    create = "10m"
    update = "10m"
    delete = "10m"
  }
}

output "workspace_id" {
  value = dedalus_workspace.dev.workspace_id
}

Data Sources

Single workspace

data "dedalus_workspace" "existing" {
  workspace_id = "ws_abc123"
}

List workspaces

data "dedalus_workspaces" "all" {}
Repositorydedalus-labs/terraform-provider-dedalus
Terraform RegistryComing soon
Last modified on March 18, 2026