---
title: "Set an existing AWS role’s Terraform variable | Proofline Help"
description: "Choose a variables-file change when a Terraform root already declares the role and expects a variable to configure the account connection."
url: https://proofline.sh/help/terraform-existing-role-variable/
---

[Help center](/help/)

# Set an existing AWS role’s Terraform variable

Choose a variables-file change when a Terraform root already declares the role and expects a variable to configure the account connection.

## Check the declaration and preview the file change

In the AWS entry for the root, set **Terraform change** to **Set the variable of an existing role**. Enter the existing **Variables file** and **Variable**. The root must declare that variable and the file must not already assign it.

In the preview, open the edited file and check the proposed values and the preserved content. If the variable is already assigned, review its existing owner instead of asking Proofline to append a second assignment.

## Related guides

-   [Prepare Terraform changes](/help/terraform-changes/)
