terraform

Automate infrastructure provisioning with Terraform/OpenTofu templates.

Updated Sep 16, 2025
One-click install
npx skills add https://github.com/singh-gur/opencode --skill terraform-singh-gur
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform
Source: https://github.com/singh-gur/opencode/tree/main/skills/terraform
Command: npx skills add https://github.com/singh-gur/opencode --skill terraform-singh-gur

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Terraform/OpenTofu expertise for infrastructure as code, module design, state management, and cloud provider patterns.

Core Features & Use Cases

  • Module-driven infrastructure design with reusable components
  • Safe state management and multi-environment organization
  • Guidance for provider patterns, version pinning, and CI/CD integration

Quick Start

Initialize a Terraform project and implement a reusable VPC module in a dev environment.

Frequently Asked Questions about terraform

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

FAQPage Schema
How do I design reusable Terraform modules for multi-environment deployments?

Reusable Terraform modules are designed using component-driven infrastructure patterns to ensure reproducible environments. This approach standardizes configurations across development and production, allowing safe state management and consistent multi-environment deployments without duplicating code.

What is the best way to manage Terraform state in a CI/CD pipeline?

The best way to manage Terraform state in a CI/CD pipeline involves using remote state backends to safely handle state files. This strategy prevents concurrent state corruption and integrates seamlessly with version pinning and CI/CD workflows for automated infrastructure provisioning.

Does OpenTofu work with existing Terraform module designs and cloud provider patterns?

Yes, OpenTofu is compatible with existing Terraform module designs and cloud provider patterns. It supports the same infrastructure as code workflows, allowing you to provision and configure reproducible infrastructure using your established reusable components and state management strategies.

When do I need infrastructure as code for cloud provider patterns?

You need infrastructure as code for cloud provider patterns when you require reproducible infra and automated provisioning. This approach handles module design, version pinning, and multi-environment organization, ensuring consistent infrastructure deployment and configuration management across cloud platforms.

How do I start building a modular infrastructure project using Terraform?

To start building a modular infrastructure project, initialize a Terraform project and implement a reusable component, such as a VPC module, in a development environment. This establishes a baseline for infrastructure as code, state management, and CI/CD integration.