terraform-expert

Guide writing, reviewing, and debugging Terraform configurations across cloud platforms.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/jralph/.config-opencode --skill terraform-expert-jralph
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-expert
Source: https://github.com/jralph/.config-opencode/tree/main/skills/terraform-expert
Command: npx skills add https://github.com/jralph/.config-opencode --skill terraform-expert-jralph

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides expert guidance for Terraform and Infrastructure as Code (IaC), helping teams write, review, and debug Terraform configurations more efficiently and with higher quality.

Core Features & Use Cases

  • Guidance & Review: Best-practice patterns for structuring Terraform code, modules, variables, and providers.
  • Abstraction & Reuse: Strategies for modular design, state management, and environment separation across multiple cloud platforms (AWS, Azure, GCP).
  • Use Case: When you need a clean, maintainable IaC repo, use this Skill to architect modules, pin provider versions, enable remote backends, and implement validation and testing.

Quick Start

Say: "Explain how to structure a Terraform project for a multi-environment deployment and provide a minimal example with modules and a backend configuration."

Frequently Asked Questions about terraform-expert

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

FAQPage Schema
How do I structure a Terraform project for multi-environment deployments?

To structure Terraform for multi-environment deployments, use modular design to separate shared logic from environment-specific variables, and configure remote backends for state isolation. This ensures a clean, maintainable Infrastructure as Code repository across different cloud platforms.

What are the best practices for managing Terraform variables and secrets securely?

Secure Terraform variables and secrets by applying best-practice patterns for variable validation and sensitive data handling. Implement strict validation rules and secure secret management to protect sensitive infrastructure configurations across your environments.

How does Terraform module design improve infrastructure as code reusability?

Terraform module design improves infrastructure as code reusability by encapsulating resources into standardized, repeatable components. This abstraction strategy enables teams to efficiently scale configurations across multiple cloud platforms without duplicating code.

Can I use this Terraform guidance for AWS, Azure, and GCP configurations?

Yes, this Terraform guidance applies across AWS, Azure, and GCP configurations. It provides expert best-practice patterns for writing, reviewing, and debugging infrastructure as code scenarios regardless of your specific cloud provider.

Why should I pin Terraform provider versions in my infrastructure as code?

Pin Terraform provider versions to prevent unexpected breaking changes and ensure infrastructure as code stability. Provider versioning guarantees that your modules behave consistently across different environments and execution runs.

What is the best way to validate and test Terraform configurations?

The best way to validate and test Terraform configurations is by implementing functional validation rules and testing strategies within your modules. This ensures code organization correctness and catches infrastructure errors before deployment.