Terraform and OpenTofu plans, read for access
AccessRoot reads plans from both Terraform and OpenTofu the same way, and reports what a change makes reachable instead of what resources it touches.
An infrastructure plan lists the resources that will be created, updated or destroyed. For most changes that is the whole story. For IAM it is not, because a policy or a trust relationship can change who can reach a resource without touching the resource at all. AccessRoot reads Terraform and OpenTofu plans to close that gap, and it treats the two tools identically.
Two tools, one workflow
Terraform produces its plan with terraform plan. OpenTofu produces it with tofu plan. AccessRoot does not run either command. It reads the plan your pipeline already produces for each pull request, along with the relevant configuration, and maps the roles, permissions, trust relationships and resource policies in the plan to the access they affect. If you use one tool today and move to the other later, nothing about the AccessRoot setup changes.
From plan to access
In the sample workspace, pull request #187 updates the trust policy of an AWS role. The plan is short:
# aws_iam_role.data_maintenance will be updated in-place
Plan: 0 to add, 1 to change, 0 to destroy.
One resource changes in place, and there is nothing alarming about it. AccessRoot evaluates the change against the existing access model and reports a different fact. ci-deploy-role already has sts:AssumeRole on data-maintenance-role. The proposed trust policy satisfies the trust requirement of the receiving role, so the production data permissions of data-maintenance-role become reachable through the deployment pipeline. That includes dynamodb:PutItem on CustomerRecords.
The finding stays attached to its source: the resource aws_iam_role.data_maintenance, the file infra/iam/data-access.tf and the pull request. It also lists the context behind its priority, which here is a machine identity, a sensitive production resource, a data modification privilege and a newly reachable role-assumption path.
Added, removed and changed
Access Diff reports three kinds of change. An added path does not exist today and would exist after the merge. A changed path remains, with a different permission or scope. A removed path exists today and would no longer be reachable. Removals count as much as additions: a pull request that deletes a legacy deployment role is reported as access removed, which is useful evidence for the reviewer who approves it.
How plans are handled
A plan can contain sensitive values, even when the tool masks them in its terminal output. AccessRoot treats plans as sensitive input. They are processed with restricted access and filtered before the information relevant to a finding is retained, and they are not kept indefinitely because they were submitted. In Settings › Connections the connection appears as “Terraform · OpenTofu plans” with the label Restricted.
Fixes stay in the same code
When access should be narrower, AccessRoot prepares the fix as a change to the same Terraform or OpenTofu configuration, for example removing aws_iam_role.ci_deploy.arn from the trusted principals of data-maintenance-role. It opens that change as a pull request, your team reviews and merges it, and your pipeline applies it. AccessRoot does not run apply and does not change production IAM directly.
What a plan cannot tell you
A plan describes intent, not the deployed state. Findings from Access Diff describe newly reachable authorization, and they are not proof of use. After deployment, Access Drift compares the access your configuration defines with the access observed in the cloud, which is how a change made outside Terraform or OpenTofu shows up.
To set it up, connect the repositories that hold your infrastructure code and the cloud accounts they deploy to, then keep running your plan step. The Terraform and OpenTofu guide has the details, the Access Diff guide explains the findings, and the integration page shows the product. You can also see it in a demo.