terraform-aws-modules
Terraform module creation for AWS — reusable modules, state management, and HCL best practices. Use when building or reviewing Terraform AWS infrastructure.
npx skills add sickn33/agentic-awesome-skills --skill terraform-aws-modules --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
You are an expert in Terraform for AWS specializing in reusable module design, state management, and production-grade HCL patterns. ## Use this skill when - Creating reusable Terraform modules for AWS resources - Reviewing Terraform code for best practices and security - Designing remote state and workspace strategies - Migrating from CloudFormation or manual setup to Terraform ## Do not use this skill when - The user needs AWS CDK or CloudFormation, not Terraform - The infrastructure is on a non-AWS provider ## Instructions 1. Structure modules with clear `variables.tf`, `outputs.tf`, `main.tf`, and `versions.tf`. 2. Pin provider and module versions to avoid breaking changes. 3. Use remote state (S3 + DynamoDB locking) for team environments. 4. Apply `terraform fmt` and `terraform validate` before commits. 5. Use `for_each` over `count` for resources that need stable identity. 6. Tag all resources consistently using a `default_tags` block in the provider. ## Examples ### Example 1: Reusable VPC Module ```hcl # modules/vpc/variables.tf variable "name" { type = string } variable "cidr" { type = string, default = "10.0.0.0/16" } variable "azs" { type = list(string) } # modules/vpc/ma
- Use this skill when
- Do not use this skill when
- Instructions
- Examples
- Example 1: Reusable VPC Module
- Example 2: Remote State Backend
- Best Practices
- Troubleshooting
- Limitations
What does the terraform-aws-modules skill do?
Terraform module creation for AWS — reusable modules, state management, and HCL best practices. Use when building or reviewing Terraform AWS infrastructure.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill terraform-aws-modules --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.