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

tf-best-practices

Check generated AWS Terraform against security policy rules and return a pass/fail verdict with file-and-line violations.

When to use it

You have a generated terraform/ directory from a migration and need to know whether it meets AWS security posture before calling the phase done.

For example

You say

Run tf-best-practices on the terraform/ directory my GCP migration just generated and tell me if it passes policy.

You get
  • POLICY_OK or POLICY_FAIL verdict
  • violations list with file and line
  • fix hints per violation

How it works

  • Rules fire only on clear in-block literal evidence, so variable-driven values are not flagged.
  • Elastic Beanstalk load-balanced environments are not checked by the ALB listener rules.
  • The checker only reports; it never edits .tf files or decides phase completion.

Before installing

Requires Python 3 to run the bundled policy checker script; the checker reads HCL statically and does not need terraform init or provider downloads.

This skill includes 5 scripts your assistant may run on your computer.