Useful Tabs

All tools

IAM Policy Lint: Terraform plan IAM policy diff for AWS pull requests

Open a saved Terraform plan JSON, see which AWS IAM policy statements changed, and copy a pull-request note that holds only counts.

FreeNo sign-upRuns in your browser

Open IAM Policy Lint →

See it work

Three changed policies and one review gap are counted in the PR note.
Three changed policies and one review gap are counted in the PR note.
The note you paste into the pull request: counts only, ready to copy.
The note you paste into the pull request: counts only, ready to copy.
Changes it cannot read are named, not guessed: unknown until apply, unsupported types.
Changes it cannot read are named, not guessed: unknown until apply, unsupported types.

Before you start

IAM Policy Lint as it opens
As it opens: nothing to install, no sign-up.
IAM Policy Lint on a phone
The same tool on a phone.

What it does

IAM Policy Lint compares the AWS IAM policy documents in one saved Terraform plan and shows the statements added and removed. It is for engineers who review a pull request that changes IAM and need to leave a note without pasting role names, account IDs or policy values into the thread.

How to use it

  1. Save the plan as JSON: terraform plan -out=plan.tfplan, then terraform show -json plan.tfplan > plan.json.
  2. Drop plan.json on the page, or choose it. The limit is one .json file of up to 10 MiB.
  3. Read the added and removed statements and check anything listed as unreviewed.
  4. Press Copy PR note and paste it into the pull request.

What it does not do

Open IAM Policy Lint: it is free and runs in your browser.

Saved you some time? Tools here stay free and sign-up free. Tip the maker on Ko-fi.

More free tools