Skip to main content
The Control Plane Terraform provider lets you manage Control Plane resources as code using HashiCorp Configuration Language (HCL).

Terraform Registry

View the official Control Plane provider on the Terraform Registry for full documentation, resources, and data sources.

Setup

Add the Control Plane provider to your Terraform configuration:
Then initialize your project:
Requires Terraform 0.13+

Resources

Upgrading Provider Version

After installing a new provider version, follow these steps to upgrade an existing installation:
  1. Update the version property inside the HCL file that contains the required_providers declaration block for the cpln provider.
  2. Run the command: terraform init -upgrade to upgrade the Terraform dependencies (state file, etc.). The Terraform commands (plan, apply, etc.) will now use the latest version.
If necessary, the provider version can be downgraded.

Examples