java/src/main/resources/targets/claude/skills/knowledge-packs/infra-patterns/iac-terraform/SKILL.md
Terraform patterns: module structure, remote state, naming conventions, CI/CD workflows, drift detection, and common infrastructure modules.
npx skillsauth add edercnj/ia-dev-environment iac-terraformInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Provides production-grade Terraform patterns for infrastructure-as-code including project structure, state management, CI/CD integration, and reusable module design across AWS, GCP, and Azure.
Supplements infrastructure knowledge pack with Terraform-specific IaC patterns.
required_version enforced); provider-agnostic examples (AWS / GCP / Azure provider blocks substitute cleanly)| Pattern | Use case | File |
| :--- | :--- | :--- |
| Module Structure | Canonical layout (main.tf, variables.tf, outputs.tf, versions.tf), root vs child modules | references/examples-module-structure.md |
| Remote State | S3 + DynamoDB backend, state locking, state encryption, terraform_remote_state data source | references/examples-remote-state.md |
| Naming Conventions | Resource naming, tags strategy, environment labels, cost allocation | references/examples-naming-conventions.md |
| CI/CD | terraform fmt/validate/plan/apply pipeline, PR checks, approval gates, artifact storage | references/examples-cicd.md |
| Drift Detection | Scheduled terraform plan comparison, Atlantis drift-check, notification hooks | references/examples-drift-detection.md |
| Common Modules | VPC / network, IAM / service accounts, object storage, managed K8s, ALB/NLB patterns | references/examples-common-modules.md |
Open a specific references/examples-<pattern>.md only when you are about to implement that pattern. The Patterns Index is enough to decide which file applies; each example file carries the complete .tf snippets.
All pattern examples live under references/examples-*.md next to this SKILL.md. The naming convention is examples-<slug>.md where <slug> matches the third column of the Patterns Index above.
testing
Scaffolds a Helidon SE/MP service with routing, health, config, Dockerfile, and tests.
tools
Generates a Picocli @Command with subcommands, options, converters, and unit tests.
testing
Scaffolds a Micronaut service with @Controller, DI, health, Dockerfile, and tests.
testing
Scaffolds a Helidon SE/MP service with routing, health, config, Dockerfile, and tests.