Skip to content
DnsLister Forum

Where domain hunters compare notes

Manage Private Cloud Director as code: our Terraform provider is now public

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.

Source: r/platform9 · by /u/cloudeous-maximus

Leave a Reply

Your email address will not be published. Required fields are marked *