tf-best-practices
A supporting skill in AWS's aws-startup-advisor plugin for the Terraform that its migration skills generate.
What the skill teaches
A supporting skill in AWS's aws-startup-advisor plugin for the Terraform that its migration skills generate. Before a terraform directory is written it supplies authoring rules and a security baseline; afterwards it runs a deterministic policy check and reports a pass or fail verdict, with exit codes and JSON output the calling skill acts on. It is read-only: it never edits .tf files or decides when a migration phase is complete, and it adds to rather than replaces terraform fmt, init and validate. It ships Python validation scripts with fixtures that double as its regression tests.
Capabilities
- Apply authoring rules to generated AWS Terraform
- Check generated Terraform against a security policy
- Report a pass or fail verdict as JSON
About
- Publisher
- Amazon Web Services
Install
What's inside
- .gitignore
- fixtures/terraform-policy/bad-db-sg-public-quoted-port/vpc.tf
- fixtures/terraform-policy/bad-db-sg-public/vpc.tf
- fixtures/terraform-policy/bad-elasticache-cluster-redis-unencrypted/cache.tf
- fixtures/terraform-policy/bad-elasticache-unencrypted/cache.tf
- fixtures/terraform-policy/bad-heroku-eb-elasticache/cache.tf
- fixtures/terraform-policy/bad-http-forward/compute.tf
- fixtures/terraform-policy/bad-rds-public-brace-in-comment/main.tf
- fixtures/terraform-policy/bad-rds-public-closing-brace/main.tf
- fixtures/terraform-policy/bad-rds-public-interpolated-brace/rds.tf
- fixtures/terraform-policy/bad-rds-public-unencrypted/database.tf
- fixtures/terraform-policy/bad-sg-public-ipv6/vpc.tf
- fixtures/terraform-policy/bad-sg-public-ssh/vpc.tf
- fixtures/terraform-policy/bad-wildcard-iam-listform/security.tf
- fixtures/terraform-policy/bad-wildcard-iam/security.tf
- fixtures/terraform-policy/good-db-sg-scoped/vpc.tf
- fixtures/terraform-policy/good-elasticache-cluster-memcached/cache.tf
- fixtures/terraform-policy/good-elasticache-cluster-redis-encrypted/cache.tf
- fixtures/terraform-policy/good-elasticache-encrypted/cache.tf
- fixtures/terraform-policy/good-heroku-eb-codepipeline/pipeline.tf
- fixtures/terraform-policy/good-heroku-eb-loadbalanced/compute.tf
- fixtures/terraform-policy/good-heroku-eb-loadbalanced/database.tf
- fixtures/terraform-policy/good-heroku-eb-loadbalanced/security.tf
- fixtures/terraform-policy/good-heroku-eb-only/compute.tf
- fixtures/terraform-policy/good-heroku-eb-singleinstance/compute.tf
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
This skill includes scripts that your agent may run.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tools | Amazon Web Services, Terraform | |
| Publisher | Amazon Web Services | source |
| Official status | Officialpublished in AWS's own GitHub organisation (github.com/aws) as part of the Agent Toolkit for AWS | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | Yes | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 20263,464 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
More from Amazon Web Services
4 servers · 169 skills
- analyzing-release-readiness (Skill)
- Amazon ECS MCP Server (MCP server)
- Agent Toolkit for AWS (MCP server)
- chatting-with-aws-devops-agent (Skill)
- coordinating-multi-space-devops-agent (Skill)
- diff-scanning-with-aws-security-agent (Skill)
Sources
- Skill file (SKILL.md)github.com/aws/agent-toolkit-for-awsNov 10, 2026
- README (README.md)github.com/aws/agent-toolkit-for-aws · Backs: Official status, PublisherNov 13, 2026
- Licence file (LICENSE)github.com/aws/agent-toolkit-for-aws · Backs: LicenceNov 13, 2026
- Folder in the repository (tf-best-practices)github.com/aws/agent-toolkit-for-aws · Backs: Includes scriptsNov 10, 2026
- GitHub repositorygithub.com/aws/agent-toolkit-for-aws · Backs: Activity, LicenceNov 11, 2026
Other MCP servers and skills for Amazon Web Services
- AWS Documentation MCP Server(MCP server)
- awslabs.amazon-mq-mcp-server(MCP server)
- awslabs.amazon-sns-sqs-mcp-server(MCP server)
- awslabs.amazon-translate-mcp-server(MCP server)
- awslabs.aws-iac-mcp-server(MCP server)
- awslabs.aws-location-mcp-server(MCP server)
- awslabs.aws-pricing-mcp-server(MCP server)
- analyzing-release-readiness(Skill)
- View all →