All skills
tf-best-practices
Check generated AWS Terraform against security policy rules and return a pass/fail verdict with file-and-line violations.
- Part of aws/agent-toolkit-for-aws
- 689 installs
- DevOps & Self-hosting · Cloud resources
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.
More Cloud resources skills
See all- vercel-optimize145kChecks Vercel usage and metrics, then suggests ranked ways to cut costs and speed up slow routes.
- google-cloud-recipe-auth17.5kExplains how to authenticate and authorize users and services to Google Cloud APIs, including IAM and ADC.
- google-cloud-recipe-onboarding17.2kWalks a new developer through creating a Google Cloud account, setting up billing and deploying a first resource.
- terraform-module-library16.5kBuilds reusable Terraform modules for AWS, Azure, GCP and OCI infrastructure.
Also in this pack
- aws-iam11.9kCorrects common IAM mistakes and generates roles and baseline policies from your code or Terraform plan.
- aws-observability11.9kInvestigates root causes and sets up CloudWatch, X-Ray tracing, alarms and dashboards for your AWS services.
- aws-cdk11.2kWrites, deploys and troubleshoots AWS infrastructure as code using CDK with TypeScript or Python.
- aws-containers11.2kBuilds and deploys containerized workloads on EKS, ECS, Fargate, ECR and Elastic Beanstalk.