Terraform Best Practices

•
132
•

Provides expert guidance and implementation patterns for Terraform and OpenTofu infrastructure-as-code projects.

This skill empowers Claude to act as a senior DevOps engineer by providing specialized knowledge in Terraform and OpenTofu. It covers advanced infrastructure-as-code (IaC) patterns, including modular architecture, resource naming conventions, and complex state management. Whether you are designing multi-environment deployments, implementing a robust testing strategy using native frameworks or Terratest, or integrating security scanning into CI/CD pipelines, this skill ensures your infrastructure is scalable, secure, and follows industry-standard best practices based on terraform-best-practices.com.

主な機能

01Advanced testing strategies using native Terraform 1.6+ frameworks
02Security-first approach with integrated scanning recommendations
03Standardized module hierarchy (Resource, Infrastructure, and Composition)
04132 GitHub stars
05Strict naming conventions and resource block ordering for consistency
06Expert logic for count vs. for_each and dependency management

ユースケース

01Refactoring monolithic Terraform configurations into reusable, scalable modules
02Implementing automated testing and CI/CD pipelines for cloud infrastructure
03Optimizing resource dependency and deletion order in complex cloud environments