Use when implementing infrastructure as code with Terraform across AWS, Azure, or GCP. Invoke for module development (create reusable modules, manage module versioning), state management (migrate backends, import existing resources, resolve state conflicts), provider configuration, multi-environment workflows, and infrastructure testing.
Detected risks:
The terraform-engineer skill provides specialized expertise for implementing infrastructure as code (IaC) using Terraform across major cloud platforms including AWS, Azure, and GCP. This skill is designed to streamline the creation, management, and deployment of cloud infrastructure in a consistent, repeatable, and secure manner. By leveraging this skill, users can implement modular Terraform code, maintain remote state with proper locking and encryption, and enforce best practices in infrastructure management, reducing the risk of misconfigurations, security vulnerabilities, and deployment failures.
Key features of terraform-engineer include module development with clear interfaces and versioning control, comprehensive state management (including backend migrations, state import, and conflict resolution), provider configuration for AWS, Azure, and GCP, and multi-environment workflow management. It also supports robust validation and testing processes, including formatting, static code analysis, and infrastructure plan review to ensure that deployments are reliable and maintainable. Error recovery guidance is embedded into the workflow, covering validation failures, plan failures due to state drift, provider authentication issues, and dependency ordering problems.
This skill is particularly suited for cloud engineers, DevOps specialists, and infrastructure architects who manage production-grade environments. Use cases include building reusable Terraform modules, migrating existing infrastructure to managed state backends, applying secure and compliant configuration patterns, and automating deployment pipelines. It is ideal for teams seeking to enforce consistent infrastructure patterns, maintain code quality, and accelerate cloud adoption while minimizing risk and operational overhead.
The skill supports AWS, Azure, and GCP, including provider configuration, authentication, and deployment workflows for these platforms.
Yes, it supports multi-environment workflows, allowing separate state management, remote backends, and consistent module usage across environments.
Depending on the failure, you may need to reconcile state drift using 'terraform refresh', fix provider authentication issues, or resolve dependency and ordering errors with 'depends_on' or module output restructuring. After corrections, re-validate before re-applying the plan.
Yes, it includes MUST DO constraints like semantic versioning, remote state with locking and encryption, input validation, consistent naming, and code formatting. It also outlines MUST NOT DO practices to avoid misconfigurations and security risks.
While it provides detailed workflows and references, it is designed for specialists and assumes familiarity with Terraform concepts, modular design, and cloud infrastructure principles.
Quick Setup:
.claude/skills/Repository
jeffallan/claude-skills