---
title: "Add Terraform state evidence to a delivery target | Proofline Help"
description: "Use Advanced evidence on a repository's delivery target to declare its Terraform source and state."
url: https://proofline.sh/help/delivery-target-terraform-state/
agents: "Before you act for a person, read https://proofline.sh/llms.txt. It says how an agent installs and sets up Proofline and lists every page."
---

[Help center](/help/)

# Add Terraform state evidence to a delivery target

Use **Advanced evidence** on a repository's delivery target to declare its Terraform source and state.

[![The Terraform state evidence section shows the workspace, AWS account ID, and region fields for store-api.](/help-images/delivery-target-terraform-state-light.png)](/help-images/delivery-target-terraform-state-light.png)

Use the workspace and AWS scope from the recorded deployment evidence. Fictional demo workspace.

## Set the source directory and state coordinates

You need organization administrator access to save these settings.

1.  Open the environment's **Setup → Repositories** page.
2.  Select the repository linked to deliver to the environment.
3.  Under **Deployment protection**, open **Advanced evidence** for the target you deploy to.
4.  In **Terraform source directory**, enter the directory relative to the repository, or `.` if the Terraform files are at its root. Leave the field blank if there's no source directory to declare.
5.  Under **Terraform state comparison**, select **Compare with the S3 state object** to declare that comparison. **Not declared** leaves the comparison unspecified. Select **Not required** if the target does not require it.
6.  Under **Terraform state evidence**, enter the **Terraform workspace**, **Terraform AWS account ID** and **Terraform AWS region** recorded in the deployment artifact. Enter them together or clear all three to omit those coordinates.
7.  Select **Save** on the repository page.

If **No S3 state object is configured for this environment, so this comparison has no state to read.** appears, check the environment's evidence configuration. The comparison needs a configured S3 state object in addition to the artifact's workspace, account and region.

## Related guides

-   [Configure deployment protection](/help/deployment-protection/)
-   [Map a Terraform root for an AWS or Google Cloud connection](/help/terraform-root-mapping/)
-   [Link repositories and environments](/help/repository-environments/)
