terraform-iac-expert

Manage infrastructure as code with Terraform and OpenTofu across AWS, GCP, and Azure.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/CenredJun/openclaw-claudecode-setup-kit --skill terraform-iac-expert-cenredjun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-iac-expert
Source: https://github.com/CenredJun/openclaw-claudecode-setup-kit/tree/main/skills/terraform-iac-expert
Command: npx skills add https://github.com/CenredJun/openclaw-claudecode-setup-kit --skill terraform-iac-expert-cenredjun

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Teams and engineers need a reliable, repeatable way to design, provision, and maintain cloud infrastructure without manual, error-prone changes to resources and state files. This Skill helps reduce configuration drift, prevent state conflicts, and enforce best practices across environments and cloud providers.

Core Features & Use Cases

  • Module design and composition: Establish reusable, versioned modules and clear input/output contracts for team consumption.
  • State management and backends: Configure remote state (S3, GCS, Azure Blob, Terraform Cloud) with locking and migration strategies.
  • Multi-environment patterns: Support workspace- or directory-based environments, promotion workflows, and Terragrunt DRY patterns.
  • Secrets and security: Integrate Vault or cloud secret managers, apply least-privilege IAM, and incorporate policy-as-code checks.
  • CI/CD integration: Scaffold GitHub Actions, Atlantis, or Terraform Cloud workflows for plan/apply and artifact handling.
  • Use Case: Migrate an existing on-prem setup to a module-driven Terraform repository with remote state, provider pinning, and a GitHub Actions plan/apply pipeline.

Quick Start

Ask the terraform-iac-expert to scaffold a module-based Terraform repository with a remote S3 backend, state locking, provider version pinning, and a GitHub Actions plan/apply workflow.

Frequently Asked Questions about terraform-iac-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure a remote S3 backend with state locking for Terraform?

To configure a remote S3 backend with state locking, you define the backend configuration in your Terraform root module and enable DynamoDB for locking. This prevents concurrent state conflicts and ensures safe remote state operations across teams.

What is the best way to structure multi-environment Terraform deployments?

Multi-environment Terraform deployments are best structured using either Terraform workspaces or directory-based separation. You can also use Terragrunt DRY patterns to maintain environment-specific configurations and establish clear promotion workflows across environments.

How do I integrate secrets management with Vault and Terraform?

Integrating secrets management with Vault and Terraform involves configuring the Vault provider to securely retrieve sensitive data. This applies least-privilege IAM policies and ensures secrets are never exposed in plain text within your infrastructure code or state files.

Can I automate Terraform plan and apply workflows with GitHub Actions?

Yes, you can automate Terraform plan and apply workflows with GitHub Actions. This Skill scaffolds CI/CD pipelines that trigger automated plan and apply operations, handle artifacts, and integrate with Atlantis or Terraform Cloud for robust infrastructure deployment.

Does OpenTofu work with existing Terraform modules and state backends?

OpenTofu works seamlessly with existing Terraform modules and state backends. It supports the same module composition, remote state configurations, and provider version pinning, allowing you to manage infrastructure as code without vendor lock-in.

Why do I need to pin provider versions in my infrastructure as code repository?

You need to pin provider versions in your infrastructure as code repository to prevent unexpected breaking changes when new versions are released. Version pinning ensures repeatable deployments and maintains consistency across multi-environment workflows.