Terraform Cloud ​
Manage infrastructure as code with Terraform Cloud workspaces, runs, and state.
| Detail | Value |
|---|---|
| Category | DevOps |
| Base URL | https://app.terraform.io/api/v2 |
| Authentication | Bearer Token |
| Endpoints | 8 |
| Connector key | terraform-cloud |
Using Terraform Cloud in a workflow ​
- Go to Connections and click New Connection.
- Pick Terraform Cloud from the marketplace.
- Enter your credentials (see Authentication above for what's expected).
- In a workflow, drop an API Call node and select this connection.
- Pick the operation you need from the Operation dropdown — see the table below.
Available Endpoints ​
| Endpoint | Summary |
|---|---|
| GET /organizations | List organizations |
| GET /organizations/{organization_name}/workspaces | List workspaces |
| POST /organizations/{organization_name}/workspaces | Create a workspace |
| GET /workspaces/{workspace_id} | Get workspace details |
| POST /runs | Create a run |
| GET /runs/{run_id} | Get run details |
| POST /runs/{run_id}/actions/apply | Apply a run |
| GET /workspaces/{workspace_id}/current-state-version | Get current state |
Each endpoint has its own page with parameter details, an example
API Callnode configuration, and the response shape.