Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)
All skills

aws-iam

Corrects common IAM mistakes and generates roles and policies from source code or a Terraform plan.

When to use it

You already have application code or a Terraform plan and need the exact IAM actions and a least-privilege policy for it.

For example

You say

Use the aws-iam skill: here is my Terraform plan JSON for a Lambda that reads from S3 and writes to DynamoDB — generate the execution role and policy.

You get
  • Execution role trust policy
  • Least-privilege IAM policy
  • Required action list

How it works

  • Policy generation from source code or a Terraform plan JSON goes through iam-policy-autopilot rather than hand-written actions.
  • Covers trust-policy conditions like aws:SourceAccount and aws:SourceArn for service roles.
  • Flags condition-operator traps such as ForAllValues passing on a missing key.