terraform

Write, plan, and apply Terraform and OpenTofu infrastructure as code.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/gagan114662/exp --skill terraform-gagan114662
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform
Source: https://github.com/gagan114662/exp/tree/main/crates/openfang-skills/bundled/terraform
Command: npx skills add https://github.com/gagan114662/exp --skill terraform-gagan114662

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill empowers users to efficiently manage cloud infrastructure using Infrastructure as Code (IaC) principles with Terraform and OpenTofu, ensuring consistency, repeatability, and safety in deployments.

Core Features & Use Cases

  • IaC Development: Write, validate, and format Terraform/OpenTofu configurations.
  • Planning & Application: Safely plan and apply infrastructure changes with detailed reviews.
  • State Management: Manage Terraform state, including importing existing resources and refactoring.
  • Module Design: Create reusable, well-documented Terraform modules.
  • Use Case: Deploy a new VPC network with subnets, security groups, and a load balancer using a pre-defined Terraform module, ensuring all resources are tagged correctly for cost allocation.

Quick Start

Use the terraform skill to plan the infrastructure changes defined in the current directory.

Frequently Asked Questions about terraform

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

FAQPage Schema
How do I manage Terraform state when refactoring existing cloud infrastructure?

Terraform state management involves safely importing existing cloud resources and refactoring configurations while maintaining remote state. It requires strict adherence to remote state backend configurations and version pinning to prevent drift during infrastructure orchestration.

What's the best way to structure reusable Terraform modules for cloud infrastructure?

Designing reusable Terraform modules requires creating well-documented, version-pinned configurations for cloud resources like VPC networks and subnets. Modules must enforce resource tagging conventions for cost allocation and follow Infrastructure as Code principles for consistent deployment.

Can I use OpenTofu to plan and apply infrastructure changes safely?

OpenTofu supports writing, validating, and formatting IaC configurations to safely plan and apply infrastructure changes. It enables detailed reviews of cloud resource modifications, ensuring consistency, repeatability, and safety during cloud infrastructure orchestration.

How do I deploy a VPC network with subnets and security groups using Infrastructure as Code?

Deploying a VPC network with subnets, security groups, and load balancers uses pre-defined Terraform modules following IaC principles. Configurations must enforce resource tagging conventions for cost allocation and adhere to remote state management for safe cloud orchestration.

Why do I need version pinning and remote state for Terraform deployments?

Version pinning and remote state are required Terraform conventions to ensure consistency, repeatability, and safety in deployments. They prevent configuration drift and enable collaborative cloud infrastructure management by maintaining a centralized, version-controlled state file.