This Skill provides actionable Terraform and OpenTofu best-practice guidance for designing, testing, and operating infrastructure-as-code in production. It…
This Skill provides actionable Terraform and OpenTofu best-practice guidance for designing, testing, and operating infrastructure-as-code in production. It covers module architecture (resource, infrastructure, composition), recommended directory layouts (modules, environments, examples), and patterns for multi-environment deployments and state management. The Skill explains testing strategies — validate, plan, unit/integration frameworks and examples-as-tests — and prescribes CI/CD integration patterns for safe, automated apply workflows. Use it to create new modules, structure projects, set up IaC testing pipelines, implement environment isolation, and review or refactor existing Terraform/OpenTofu code. Core advantages include consistent, reusable modules, reduced drift and risk, easier reviews, and enterprise-ready patterns drawn from terraform-best-practices.com and real-world experience. Not intended for basic syntax or provider API reference.
Esta página faz parte do hub OpenClaw Skills com guias de instalação, navegação por categorias e links práticos.