terraform-examples

Create Terraform module examples with standard file templates and directory layouts.

Updated Jan 20, 2026
One-click install
npx skills add https://github.com/Luscii/terraform-fluentbit-luscii-presets --skill terraform-examples
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-examples
Source: https://github.com/Luscii/terraform-fluentbit-luscii-presets/tree/main/.github/skills/terraform-examples
Command: npx skills add https://github.com/Luscii/terraform-fluentbit-luscii-presets --skill terraform-examples

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Terraform module authors often need ready-to-run examples, consistent templates, and clear documentation to showcase their modules. This Skill standardizes the creation of runnable examples and inline documentation to accelerate adoption and reduce onboarding friction.

Core Features & Use Cases

  • Scaffolds examples/ directory structures with main.tf, variables.tf, outputs.tf, versions.tf, and README.md templates.
  • Provides inline README examples and placeholder conventions for common scenarios.
  • Demonstrates testing workflows and CI considerations to ensure examples remain valid and reusable.

Quick Start

To quickly get started, create an examples/ directory following the provided templates, customize values for your module, and run Terraform commands to validate.

Frequently Asked Questions about terraform-examples

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

FAQPage Schema
How do I scaffold a Terraform module examples directory?

To scaffold a Terraform module examples directory, create an examples/ folder and populate it with standard main.tf, variables.tf, outputs.tf, versions.tf, and README.md file templates. This standardizes directory layout and documentation to ensure modules are self-contained.

What templates are needed for a runnable Terraform module example?

Runnable Terraform module examples require standard file templates including main.tf, variables.tf, outputs.tf, versions.tf, and README.md. These templates provide placeholder conventions for common scenarios like ECS, load balancer, and secrets to ensure examples are production-ready.

How do I document Terraform modules with inline READMEs?

To document Terraform modules with inline READMEs, apply standardized template patterns within the examples/ directory. This enforces consistent documentation and placeholder conventions, reducing onboarding friction and accelerating module adoption.

Does this Terraform scaffolding include testing workflows for module examples?

Yes, this Terraform scaffolding includes testing workflows and CI considerations. It provides patterns to validate examples and ensure they remain valid and reusable within standard Terraform module development practices.

What is the best way to structure Terraform module examples for ECS and load balancers?

The best way to structure Terraform module examples for ECS and load balancers is using a standardized examples/ directory layout with dedicated file templates for main.tf, variables.tf, outputs.tf, and versions.tf to create self-contained, production-ready configurations.