terraform

Manage Terraform and OpenTofu infrastructure as code with state and module guidance.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/vTajae/0x000026 --skill terraform-vtajae
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform
Source: https://github.com/vTajae/0x000026/tree/main/crates/openfang-skills/bundled/terraform
Command: npx skills add https://github.com/vTajae/0x000026 --skill terraform-vtajae

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps users manage infrastructure as code (IaC) using Terraform and OpenTofu, ensuring safe state management, reusable module design, and adherence to best practices.

Core Features & Use Cases

  • IaC Best Practices: Guides users on writing, planning, and applying infrastructure code.
  • Module Design: Assists in creating well-structured, reusable Terraform modules.
  • State Management: Provides guidance on secure and efficient management of Terraform state files.
  • Use Case: A DevOps engineer needs to set up a new cloud environment. This Skill can guide them through writing the Terraform configuration, planning the changes, and managing the state securely.

Quick Start

Use the terraform skill to generate a plan for the current configuration.

Frequently Asked Questions about terraform

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

FAQPage Schema
What are the best practices for Terraform remote state backends?

Terraform remote state backends securely store state files to prevent local data loss and team conflicts. Enforcing remote state and provider version pinning ensures robust and safe infrastructure as code deployments in production environments.

How do I write reusable infrastructure as code modules?

Reusable infrastructure as code modules require strict design principles like clear inputs and outputs. This guidance assists in creating well-structured Terraform modules to avoid common pitfalls and ensure configurations are maintainable across cloud environments.

Can I use OpenTofu for state manipulation and planning?

OpenTofu fully supports state manipulation and planning for infrastructure as code. You can generate a plan for your current configuration, manage providers, and apply the same version pinning and code review practices used with Terraform.

What is the best way to refactor Terraform state?

Refactoring Terraform state requires careful state manipulation to avoid resource disruption. This involves following module design principles and planning changes meticulously to safely transition infrastructure as code deployments in production environments.

Why does version pinning matter for cloud infrastructure code?

Version pinning matters for cloud infrastructure code because it prevents unexpected provider changes from breaking deployments. Strictly pinning versions is a core best practice to maintain robust, secure, and predictable infrastructure as code configurations.

When do I need remote state instead of local state for IaC?

You need remote state for infrastructure as code when working in team environments to prevent state conflicts. Remote backends provide secure and efficient management of state files, which is critical for production environments and code reviews.