#13

terraform-module-writer

Production-ReadyFeatured

AWS, Azure, and GCP infrastructure modules with 32 production templates. VPC, EKS, RDS, serverless, and multi-cloud patterns.

32 templates
3 scripts

Claude Skill Instructions

This is the prompt/instruction file that Claude uses when this skill is loaded. It defines how Claude should behave and what it should do.

Skill: terraform-module-writer

Role

You are an expert in terraform module writer specializing in creating and managing terraform module writer. You follow best practices, implement proper error handling, and create production-ready solutions.

Process

When asked to create or manage terraform module writer:

  1. Understand Requirements

    • What specific needs must be addressed?
    • What are the constraints and requirements?
    • What is the expected output format?
  2. Select Appropriate Template

    • Choose from available templates in the templates/ directory
    • Customize based on specific requirements
    • Ensure best practices are followed
  3. Generate or Customize Solution

    • Use clear, descriptive naming
    • Implement proper error handling
    • Add comprehensive comments
    • Follow established patterns
  4. Provide Usage Guidance

    • Explain setup requirements
    • Show how to customize
    • Recommend testing approach
    • Suggest next steps

Output Format

When generating solutions, provide:

  1. Main Implementation - Core functionality
  2. Configuration Files - Settings and parameters
  3. Documentation - Usage instructions
  4. Testing Commands - How to validate

Resources

  • See resources/README.md for detailed documentation
  • Check resources/best-practices.md for guidelines
  • Use scripts/ directory for automation
  • Reference templates/ for examples

Remember

  • Always follow best practices
  • Implement proper error handling
  • Provide clear documentation
  • Test thoroughly before deployment

Use Cases

  • AWS VPC with public/private subnets and NAT gateways
  • EKS cluster with node groups and IRSA
  • RDS with Multi-AZ, encryption, and backup
  • Azure Virtual Network and AKS setup
  • GCP VPC and GKE cluster
  • Multi-cloud DNS and CDN configuration

Templates (32)

📝

README.md

Markdown

AWS EKS Terraform Module

2.6 KB
Download
📄

main.tf

File

Main.Tf configuration

5.3 KB
Download
📄

outputs.tf

File

Outputs.Tf configuration

2.5 KB
Download
📄

terraform.tfvars.example

File

EKS Cluster Configuration

1.2 KB
Download
📄

variables.tf

File

Variables.Tf configuration

2.4 KB
Download
📄

versions.tf

File

Versions.Tf configuration

222 B
Download
📝

README.md

Markdown

AWS RDS Terraform Module

1.6 KB
Download
📄

main.tf

File

Security Group for RDS

4.9 KB
Download
📄

outputs.tf

File

Outputs.Tf configuration

1.5 KB
Download
📄

terraform.tfvars.example

File

RDS Instance Configuration

1.5 KB
Download
📄

variables.tf

File

Variables.Tf configuration

5.0 KB
Download
📄

versions.tf

File

Versions.Tf configuration

147 B
Download
📝

README.md

Markdown

AWS VPC Terraform Module

2.2 KB
Download
📝

README.md

Markdown

Apply the configuration

711 B
Download
📄

main.tf

File

Main.Tf configuration

1.1 KB
Download
📄

main.tf

File

Main.Tf configuration

4.9 KB
Download
📄

outputs.tf

File

Internet Gateway Outputs

2.2 KB
Download
📄

terraform.tfvars.example

File

Availability Zones (use 2-3 for high availability)

747 B
Download
📄

variables.tf

File

Variables.Tf configuration

2.0 KB
Download
📄

versions.tf

File

Versions.Tf configuration

147 B
Download
📝

README.md

Markdown

Azure AKS Terraform Module

1.5 KB
Download
📄

main.tf

File

Default node pool (system pool)

4.0 KB
Download
📄

outputs.tf

File

Outputs.Tf configuration

1.6 KB
Download
📄

terraform.tfvars.example

File

AKS Cluster Configuration

1.7 KB
Download
📄

variables.tf

File

Variables.Tf configuration

2.3 KB
Download
📄

versions.tf

File

Versions.Tf configuration

155 B
Download
📝

README.md

Markdown

GCP GKE Terraform Module

1.0 KB
Download
📄

main.tf

File

Autopilot or Standard mode

3.6 KB
Download
📄

outputs.tf

File

Outputs.Tf configuration

818 B
Download
📄

terraform.tfvars.example

File

GKE Cluster Configuration

1.2 KB
Download
📄

variables.tf

File

Variables.Tf configuration

2.6 KB
Download
📄

versions.tf

File

Versions.Tf configuration

153 B
Download

Scripts (3)

📜

generate-module.sh

Shell Script

Interactive generator script with guided prompts

4.0 KB
Download
📜

init-backend.sh

Shell Script

Check if AWS CLI is installed

6.3 KB
Download
📜

validate-terraform.sh

Shell Script

Validation script to check configuration and best practices

4.5 KB
Download

Resources

README.md
7.6 KB
best-practices.md
11.0 KB
quick-start.md
4.0 KB
security-checklist.md
9.7 KB
test-modules.sh
2.6 KB

Share Skill

Found this skill useful? Share it with your network!

Information

Skill ID
#13
Category
Infrastructure & DevOps
Status
Production-Ready
Location
skills-catalog/01-infrastructure/implementations/terraform-module-writer/

Tags

production-readytesteddocumentedterraformmulti-cloud