Our first-party Terraform provider for Private Cloud Director is now on the Terraform Registry as platform9/pcd. Works with standard Terraform or OpenTofu.
It covers identity, compute, networking, storage, images, load balancing, DNS, and key management. The part you can't get from the community terraform-provider-openstack: PCD's own control plane. pcd_cluster_blueprint, pcd_host_config, pcd_host_role, and pcd_host_config_assignment let you declare cluster topology and host onboarding as code. VM HA resources come in the next release.
Coming from terraform-provider-openstack? Swap the openstack_ prefix for pcd_ and drop the _v2/_v3 suffix. Auth arguments and OS_* env vars are unchanged.
terraform { required_providers { pcd = { source = "platform9/pcd" version = "~> 0.1" } } } resource "pcd_networking_network" "app" { name = "app-net" admin_state_up = true }
Requires PCD 2026 April or later and Terraform 1.0+.
The provider is in beta at 0.1.2 Feedback welcome here or via GitHub issues.
- Registry: https://registry.terraform.io/providers/platform9/pcd/latest
- Docs: https://docs.platform9.com/private-cloud-director/automation-and-cli/terraform-provider
- Examples: https://github.com/platform9/terraform-provider-pcd/tree/main/examples
- Source: https://github.com/platform9/terraform-provider-pcd
Source: r/platform9 · by /u/cloudeous-maximus