Skip to main content
The Terraform provider syncs workspaces from Terraform Cloud or Terraform Enterprise into Ctrlplane’s inventory.

Prerequisites

  • ctrlc CLI installed
  • Terraform Cloud/Enterprise API token
  • Ctrlplane API key

Authentication

Set your Terraform Cloud token:

Basic Usage

Options

Resource Metadata

Each Terraform workspace is synced with metadata:

Running Continuously

Kubernetes Deployment

Environment Targeting

Target Terraform workspaces in environments:

Best Practices

Tag Your Workspaces

Add tags to Terraform workspaces for better targeting:

Sync Frequently

Keep workspace state current:

Next Steps

Terraform Cloud Job Agent

Trigger Terraform runs from Ctrlplane

Selectors

Learn selector syntax