> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/ai-sre/ai-sre-for-administrators/set-up-integration-management/cicd-change/terraform.md).

# Terraform Integration

Terraform is an infrastructure-as-code tool for provisioning and managing infrastructure through declarative configuration.

### How AI SRE supports Terraform <a href="#how-ai-sre-supports-terraform" id="how-ai-sre-supports-terraform"></a>

AI SRE treats Terraform as a change source for the [Deploy Change Investigator](/ai-sre/ai-sre-for-administrators/set-up-change-management/deploy-change-investigator.md). Terraform sends apply events to an AI SRE endpoint as deployment data, and AI SRE records them as changes for correlation with incidents.

* **Apply events as deployment data:** Terraform apply events are ingested as deployments.
* **Change correlation:** AI SRE correlates the ingested apply events with active incidents during investigation.

### Set up Terraform <a href="#set-up-terraform" id="set-up-terraform"></a>

Configure Terraform as a change source with the following step:

* Go to [Terraform change source](/ai-sre/ai-sre-for-administrators/set-up-change-management/sources/terraform.md) to configure Terraform apply events as deployment data.

### Next steps <a href="#next-steps" id="next-steps"></a>

* Go to [Octopus Deploy Integration](/ai-sre/ai-sre-for-administrators/set-up-integration-management/cicd-change/octopus-deploy.md) to send deployment webhooks from Octopus Deploy.
* Go to [Harness Pipelines Integration](/ai-sre/ai-sre-for-administrators/set-up-integration-management/cicd-change/harness-pipelines.md) to send build and deploy data and trigger pipelines from runbooks.
* Go to [Integration Management](/ai-sre/ai-sre-for-administrators/set-up-integration-management/index.md) to review all AI SRE integrations.
