# HCP Terraform integration

Connect HashiCorp Cloud Platform to give Anyshift access to your Terraform state files and workspaces, so every resource on the graph knows which module owns it.

Source: https://anyshift.io/for-agents/integrations/hcp-terraform

## Availability

- Available.

## Capabilities

- Read Terraform state from HCP workspaces

- Surface which module and workspace owns each cloud resource

- Detect drift between HCP state and live cloud

## Connect and verify

- Check the intended project's existing integration before adding a connection.

- Verify that the resources and time window needed for the task are covered. Connection status alone does not establish that the evidence is available.

[HCP Terraform setup and permissions](https://docs.anyshift.io/pages/integration/hcp)

## Use cases

- Identify the Terraform module that provisioned a failing resource

- Get a single view of drift across all your HCP workspaces

## Continue

[All integrations](https://anyshift.io/for-agents/integrations)

[Query your project with Graph MCP](https://anyshift.io/for-agents/product/context)

