terraform-module-library

Standardize Terraform module creation and refactoring across AWS, GCP, and Azure.

17|3|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/jidohyun/NOD --skill terraform-module-library-jidohyun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-module-library
Source: https://github.com/jidohyun/NOD/tree/main/.agents/skills/terraform-module-library
Command: npx skills add https://github.com/jidohyun/NOD --skill terraform-module-library-jidohyun

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides standardized patterns and best practices for creating and using Terraform modules. Use this skill when the user wants to create reusable infrastructure components, standardize Terraform patterns, or needs help with module structure and best practices for AWS, GCP, or Azure.

Core Features & Use Cases

  • Standard module structure and naming conventions for reusability across projects
  • Best-practice guidance on provider version pinning, variable documentation, and outputs
  • Examples and templates for common patterns (VPC, GKE, RDS, etc.) across AWS, GCP, and Azure

Quick Start

Create a reusable Terraform module skeleton with standard naming, provider pinning, and example usage to bootstrap infrastructure projects.

Frequently Asked Questions about terraform-module-library

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

FAQPage Schema
What is the best way to structure reusable Terraform modules for AWS, GCP, and Azure?

The best way to structure reusable Terraform modules is to enforce a standard layout with provider version pinning, input/output documentation, and example directories. This ensures consistent module development and reusability across AWS, GCP, and Azure environments.

How do I refactor existing Terraform code into modular patterns?

To refactor existing Terraform code into modular patterns, apply standardized module structures to break down monolithic configurations. Transform existing code into reusable infrastructure components like VPC or RDS configurations to accelerate infrastructure delivery.

What are the best practices for Terraform module versioning and provider pinning?

Best practices for Terraform module versioning involve strict provider version pinning and comprehensive variable documentation. Enforcing these standards within your module structure prevents configuration drift and maintains consistent infrastructure-as-code deployments.

Can I use standardized Terraform module patterns to build a VPC or GKE cluster?

Yes, you can use standardized Terraform module patterns to build common infrastructure components like VPCs, GKE modules, and RDS configurations. These templates provide ready-to-use examples for consistent deployment across different cloud providers.

Why do I need an examples directory in my Terraform module structure?

You need an examples directory in your Terraform module structure to demonstrate practical usage and validate module behavior. Including example directories is a core best practice that enforces module reusability and accelerates infrastructure delivery.