terraform apply.
The Terraform provider is in beta. Some features may change.
Install
Resources
Workspace
Data Sources
Single workspace
List workspaces
Links
| Repository | dedalus-labs/terraform-provider-dedalus |
| Terraform Registry | Coming soon |
Manage Dedalus Cloud workspaces as infrastructure-as-code.
terraform apply.
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
}
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 "dedalus_workspace" "existing" {
workspace_id = "ws_abc123"
}
data "dedalus_workspaces" "all" {}
| Repository | dedalus-labs/terraform-provider-dedalus |
| Terraform Registry | Coming soon |
Was this page helpful?