SkillsLib.ai

Terraform Module Architect

Design production-grade Terraform modules with safe refactoring strategies

0.0(0 reviews)
100+ downloads
Updated Nov 2026

What You Can Do

This skill audits your existing Terraform infrastructure, designs production-ready module structures, and creates detailed migration plans with safety checkpoints. You get comprehensive refactoring guidance, dependency analysis, test strategies, and step-by-step migration playbooks that minimize production risk.

Features

Module architecture design

Assess current Terraform structure and design modular, reusable, production-grade architecture patterns

Monolith-to-modules refactoring

Break down monolithic Terraform into composable, maintainable modules with clear boundaries

Safety-first migration planning

Create detailed, risk-assessed migration plans with pre-checks, validation gates, and rollback procedures

Dependency graph analysis

Map module dependencies, identify circular dependencies, and optimize the dependency tree for parallel execution

Variable and output design

Design consistent variable schemas, output contracts, and public/internal interfaces for module consumers

Test strategy & validation

Generate unit test plans, integration test strategies, and pre-production validation checklists

Documentation generation

Produce module README templates, variable documentation, and usage examples for all modules

Terraform best practices audit

Validate modules against AWS/Azure/GCP best practices and organizational standards

Example Output

Architecture Review Output

Current State: Monolithic main.tf with 2,400 lines spanning VPC, Kubernetes, monitoring, and databases.

Proposed Module Structure:

code
modules/
  network/          # VPC, subnets, routing, security groups
  kubernetes/       # EKS cluster, node groups, add-ons
  observability/    # CloudWatch, Prometheus, Grafana configs
  databases/        # RDS, ElastiCache, backup policies
  iam/              # Roles, policies, service accounts

Migration Plan:

  1. Extract IAM module (no infrastructure dependencies) — Phase 1, Week 1
  2. Extract Network module (depended on by K8s/RDS) — Phase 1, Week 2
  3. Extract Databases module (safe to run in parallel) — Phase 2, Week 1
  4. Migrate Kubernetes to new network module — Phase 2, Week 2
  5. Validate with terraform plan and smoke tests — Phase 3

Risk Assessment: Medium — Plan shows 45 resource additions, 12 resource deletions (safe via moved blocks), zero data loss expected.

What's Included

  • SKILL.md: Core Terraform module architecture and refactoring workflow
  • Module Design Template: Production-ready module structure checklist
  • Migration Planning Worksheet: Step-by-step template for safe refactoring with validation gates
  • Dependency Graph Analysis Template: Map and visualize Terraform module dependencies
  • Safety Validation Checklist: Pre-migration and post-migration verification steps
  • Test Strategy Workbook: Unit test patterns, integration test plans, and validation procedures
  • Module Documentation Template: Consistent README, variable docs, and usage examples for all modules
  • Terraform Best Practices Guide: Reference for variable naming, output design, and module composition patterns

Who It's For

  • DevOps Engineers — Restructure legacy Terraform to scale with team and projects
  • Infrastructure/Platform Engineers — Design modular, reusable infrastructure-as-code libraries
  • Cloud Architects — Plan production-grade infrastructure refactoring with safety and minimal downtime
  • Terraform Leads/Tech Leads — Establish module standards and migration governance for large teams

Best For

  • Auditing and redesigning monolithic Terraform into modular architecture
  • Planning safe migrations from flat infrastructure code to production modules
  • Designing module contracts (variables, outputs, dependencies) for team consumption
  • Creating risk assessments and migration playbooks with validation gates
  • Documenting and standardizing Terraform module patterns across teams

You might also like

Sports Photo Storyteller
$40
Sports3.8(6)
Sports Photo Storyteller

You can instantly generate engaging captions, story arcs, and pitch-ready copy for your sports photography. Whether you're covering a championship game, developing a photo essay series, or submitting work to media outlets, this skill crafts deadline-ready narratives that showcase your images and hook editors. Transform raw photos into publication-quality coverage with professional storytelling that brings readers into the defining moments of athletic competition.

Datadog Dashboard & Alert Strategy Designer
$25
Datadog Dashboard & Alert Strategy Designer

You can design comprehensive Datadog monitoring strategies that transform raw metrics into actionable intelligence. Claude helps you architect dashboards that surface critical insights, configure intelligent alerts that reduce false positives, and build escalation workflows that speed up incident response. The result: measurably lower MTTR and a team that trusts your alerts.

Interactive Data Narrative Builder
$35
Interactive Data Narrative Builder

You can transform complex datasets into compelling interactive narratives that maintain coherence while inviting exploration. This skill helps you architect data-driven stories where insights unfold naturally through guided discovery points, keeping readers engaged without limiting their agency. Readers navigate your narrative with purpose, uncovering patterns and relationships that would remain hidden in static presentations.

Visual Story Angles & Assignment Analysis for News
$40
News3.8(5)
Visual Story Angles & Assignment Analysis for News

Transform breaking news briefs into compelling visual story frameworks that guide photographers toward impactful coverage. You'll receive multiple narrative angles, detailed shot lists organized by scene and purpose, and complete assignment briefs with sourcing guidance. Each output ensures comprehensive emotional and contextual storytelling from first frame to final edit.

Docker Container Troubleshooting & Performance Optimization
$35
Docker Container Troubleshooting & Performance Optimization

Analyze Docker container logs instantly to identify root causes of failures, crashes, and resource bottlenecks. Get actionable recommendations for resource allocation, network configuration, and architectural improvements that eliminate production issues before they cascade.

AWS Infrastructure Audit & Optimization
$40
AWS Infrastructure Audit & Optimization

Systematically analyze your AWS accounts to identify cost optimization opportunities, security gaps, and performance bottlenecks. You'll receive prioritized, actionable recommendations tailored to your architecture, from EC2 right-sizing to unused resource cleanup and security hardening.

Data Journalist Analysis System
$30
Analysis4.2(5)
Data Journalist Analysis System

This skill walks you through a structured data analysis workflow—from initial exploration and claim verification to identifying compelling story angles and building evidence-backed narratives. You'll learn to spot anomalies, validate statistics, and construct defensible arguments that stand up to scrutiny. It's designed for journalists who want to move beyond surface-level data work into serious investigative storytelling.

Beat Reporter Research & Story Development
$35
Beat3.3(6)
Beat Reporter Research & Story Development

Accelerate your beat reporting by organizing research, identifying story angles, discovering sources, and developing narrative frameworks. You can quickly synthesize complex topics, spot emerging trends, and prepare comprehensive story outlines that anchor your reporting. This skill helps you go deeper on your beat with less time spent on research logistics.

$30.00