create-terraform-stack

Create and extend Terraform root stacks with standardized configuration files.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/omattsson/iac-bootstrap --skill create-terraform-stack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-terraform-stack
Source: https://github.com/omattsson/iac-bootstrap/tree/main/examples/aws-terraform/.github/skills/create-terraform-stack
Command: npx skills add https://github.com/omattsson/iac-bootstrap --skill create-terraform-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually creating and maintaining Terraform root configurations for environments and stacks is time-consuming and prone to configuration errors, especially when onboarding new environments or adding new infrastructure modules.

Core Features & Use Cases

  • New Module Integration: Add new module calls to existing stacks with correct version pinning and output wiring.
  • Environment Onboarding: Quickly set up new cloud environments (dev, staging, prod) by templating existing environment configurations.
  • Stack Creation: Build new infrastructure stacks within existing environments with standardized directory structures and backend configuration.
  • Use Case: When your team needs to add a new Kubernetes module to your production Terraform stack, this skill automates creating the required files, updating version pins, and configuring the S3 remote state backend.

Quick Start

Use the create-terraform-stack skill to add a new networking module to your existing production Terraform environment.

Frequently Asked Questions about create-terraform-stack

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

FAQPage Schema
How do I create a new Terraform stack for a cloud environment?

Creating a new Terraform stack involves generating a standardized directory structure with required main.tf, variables.tf, outputs.tf, backend.tf, and versions.tf files aligned with best practices. Automating this process eliminates manual configuration errors and reduces infrastructure setup time.

What is the best way to add a new module call to an existing Terraform stack?

Adding a new module call to an existing Terraform stack requires correct version pinning and output wiring. Automating this integration ensures infrastructure modules are properly configured without manual file editing errors.

How do I onboard a new cloud environment using Terraform?

Onboarding a new cloud environment like dev, staging, or prod in Terraform involves templating existing environment configurations. This standardizes stack creation while maintaining required backend setup and version pinning across environments.

How do I update module version pins in my Terraform configuration?

Updating module version pins in Terraform configuration ensures your infrastructure-as-code uses specific, tested module versions. This prevents unexpected changes from upstream module updates and maintains environment stability across stacks.

Can I use this approach to configure an S3 remote state backend for Terraform?

Configuring an S3 remote state backend for Terraform is supported through the generated backend.tf file. This standardizes remote state management and ensures state consistency when onboarding new cloud environments or creating infrastructure stacks.