Skip to main content
HCP Terraform logo

HCP Terraform

HCP Terraform and Terraform Enterprise for organizations, projects, workspaces, runs, state versions, and policy evidence.

Category infrastructure

Capability matrix

Catalog declarations describe the connector. Review status and limits for qualification.

Indexes Declared
Tracks spend No
Discovers AI assets No
Runs actions Declared
Webhook events Declared

Declared capabilities

What the connector catalog declares for HCP Terraform. A declaration is not proof that it is qualified for your deployment; anything not yet qualified is listed on Status and limits.

Real-time events
The system can send events to Telara as they happen.
Knowledge indexing
Telara can index content from this system into your knowledge base.

How Telara applies

Policy applies to calls routed through Telara. Discovery and spend collection observe activity; they do not govern calls that bypass Telara.

Spend observation
No spend collection declaration
Asset discovery
No AI estate discovery declaration
MCP routing
No MCP routing declaration
Declared actions (27)
  • list_organizationsreadlistorganization — List HCP Terraform organizations visible to the token. Use when: Discovering Terraform account scope and workspace ownership.
  • list_projectsreadlistproject — List projects in an organization. Required: organization. Use when: Mapping Terraform workspaces to product or platform teams.
  • list_workspacesreadlistworkspace — List workspaces in an organization. Required: organization. Optional: search. Use when: Finding infrastructure state and run ownership.
  • get_workspacereadreadworkspace — Get a Terraform workspace by ID. Required: workspace_id. Use when: Inspecting execution mode, VCS linkage, and current state metadata.
  • list_runsreadlistrun — List runs for a workspace. Required: workspace_id. Use when: Auditing recent plans, applies, failures, and approvals.
  • get_runreadreadrun — Get a Terraform run by ID. Required: run_id. Use when: Explaining a specific plan/apply outcome or failure.
  • list_workspace_resourcesreadlistresource — List resources in a workspace. Required: workspace_id. Use when: Discovering managed infrastructure state and resource types.
  • create_workspacewritecreateworkspace — Create a new Terraform workspace in an organization. Returns workspace ID used by all read operations (list_workspaces, get_workspace, list_runs, etc.).
  • create_runwritecreaterun — Trigger a Terraform run (plan and apply) in a workspace. Returns run ID that populates list_runs, get_run, and run status tracking operations.
  • lock_workspacewritePOST /workspaces/{workspace_id}/actions/locklock_workspace — Acquire a lock on a workspace to prevent concurrent terraform operations. Idempotent—safe for test cleanup.
  • unlock_workspacewritePOST /workspaces/{workspace_id}/actions/unlockunlock_workspace — Release a lock on a workspace to allow terraform operations. Idempotent—safe for test cleanup.
  • delete_workspacewritedeleteworkspace — Delete a Terraform workspace via safe-delete — refuses (409) if the workspace is managing resources. Required: workspace_id. This is the inverse of create_workspace.
  • cancel_runwriteactionrun — Cancel a run that is currently planning or applying. Required: run_id. Returns 409 if the run is not in a cancellable state.
  • discard_runwriteactionrun — Discard a run that is pending, needs confirmation, or is paused on a policy check/override. Required: run_id. Returns 409 if the run is not in a discardable state.
  • get_organizationreadreadorganization — Get a Terraform organization by name. Required: organization_name. Use when: Confirming org-level settings (plan, collaborator limits) before scoping other calls to it.
  • list_policiesreadlistpolicy — List Sentinel/OPA policies defined in an organization. Required: organization_name. Use when: Auditing governance-as-code rules before creating a new one or investigating a policy-check failure.
  • create_policywritecreatepolicy — Create a new Sentinel or OPA policy in an organization. The policy code itself is uploaded separately via the returned upload link. Required: organization_name, name, kind (sentinel or opa), enforcement_level. Use when: Defining a new governance-as-code rule.
  • delete_policydeletedeletepolicy — Delete a Sentinel/OPA policy. Required: policy_id. Use when: Removing an obsolete governance rule, or as the compensating action for create_policy.
  • get_policyreadreadpolicy — Get a Sentinel/OPA policy by ID. Required: policy_id. Use when: Inspecting a policy's enforcement level and metadata before editing or deleting it.
  • create_projectwritecreateproject — Create a new Project (a grouping of workspaces) in an organization. Required: organization_name, name. Use when: Organizing workspaces into a folder before assigning workspaces to it.
  • get_projectreadreadproject — Get a Project by ID. Required: project_id. Use when: Confirming a project's name before assigning or removing workspaces.
  • list_teamsreadlistteam — List teams in an organization. Required: organization_name. Use when: Understanding an organization's access-control structure before investigating who can act on a workspace.
  • apply_runwriteactionrun — Apply a run that is paused awaiting confirmation (or auto-applies if the workspace allows it), making the planned infrastructure changes real. Required: run_id. Optional: comment. Returns 409 if the run is not in an appliable state.
  • update_workspacewriteupdateworkspace — Update a Terraform workspace's configuration (execution mode, Terraform version, working directory, auto-apply, description). Required: workspace_id. Use when: Changing how a workspace runs without recreating it.
  • list_state_versionsreadliststate_version — List state file versions for a workspace, most recent first. Required: workspace_id. Returns metadata only (serial, status, terraform version) — does not expose the state file content or its download link. Use when: Reviewing state history or confirming the current state's serial/terraform version.
  • list_workspace_variablesreadlistworkspace_variable — List variables set on a workspace. Sensitive variables never return their value (the API redacts it server-side regardless of caller). Required: workspace_id. Use when: Auditing what's configured on a workspace before a run.
  • create_workspace_variablewritecreateworkspace_variable — Create a non-sensitive variable on a workspace (environment variable or Terraform variable). Required: workspace_id, key, value, category. This tool cannot create sensitive/secret variables. Use when: Configuring a workspace's non-secret inputs.

Declared webhook events

run, notification, run_event

Prerequisites

An HCP Terraform (Terraform Cloud) organization.
Permission to create a user, team, or organization token.

Get the credential

1
Create a token
In HCP Terraform, open User settings → Tokens (or Organization settings → API tokens). Create a token named for Telara.
2
Paste in Telara
Settings → Integrations → HCP Terraform.

Connect in Telara

API key

HCP Terraform user, team, or organization token.

In Telara, open Settings → Integrations, choose this connector, and paste the key into the fields Telara shows.

Fields Telara asks for
  • API token

What gets indexed

ResourceDeclared collection and fieldsCoverage
OrganizationAction list_organizations. Fields id, title, body, created_at, platform, content_type, org_name, email, source_name.Partial — not every record the vendor holds is synced
Iac workspaceAction list_workspaces. Fields id, title, body, created_at, timestamp, platform, content_type, workspace_name, terraform_version, locked, source_name.Partial — not every record the vendor holds is synced

Freshness & sync

ResourceLagDeletions
OrganizationUp to 1 hourRemoved records disappear on the next full sync
Iac workspaceUp to 1 hourRemoved records disappear on the next full sync

Permissions & data handling

Telara has not published a permission list for this connector yet. Treat the vendor consent screen as the source of truth until this page lists scopes.

Excluded from semantic search: Organization, Iac workspace.

Verify it worked

After you save, Telara runs a read-only check against the account. The integration shows as connected when that check succeeds.

Known limitations

A token scoped to one org will not list another.
TFE vs HCP host mismatch looks like a bad token.

In the product

Screens from a Telara test workspace with sample data. Your workspace shows your own systems, people and policies.

Integrations catalog filtered by a search for aws
Searching the integration catalog. Email addresses masked.
Connect page for an integration that signs in with OAuth
The connect page for a connector that signs in with OAuth. The sign-in was not started. Email addresses masked.
Connect form for an integration that uses an access key, with the credential scope and empty key fields
The connect form for a connector that authenticates with keys. Nothing was entered. Email addresses masked.
Integration detail for a connected integration with its connections and status
A connected integration with its connections, status and indexing state. Email addresses masked.