All skills
wshobson avatar

/terraform-module-library

@24df162
by Seth Hobsonwshobson/agents40k stars
4,281

Build reusable Terraform modules for AWS, Azure, GCP, and OCI infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

Use this Skill: https://skilld.dev/gh/wshobson/agents/terraform-module-library

This session only. Nothing lands on disk.

referencesaws-modules.md

≈329 tokens on demand. Your agent reads this file only when SKILL.md points to it.

AWS Terraform Module Patterns

VPC Module

  • VPC with public/private subnets
  • Internet Gateway and NAT Gateways
  • Route tables and associations
  • Network ACLs
  • VPC Flow Logs

EKS Module

  • EKS cluster with managed node groups
  • IRSA (IAM Roles for Service Accounts)
  • Cluster autoscaler
  • VPC CNI configuration
  • Cluster logging

RDS Module

  • RDS instance or cluster
  • Automated backups
  • Read replicas
  • Parameter groups
  • Subnet groups
  • Security groups

S3 Module

  • S3 bucket with versioning
  • Encryption at rest
  • Bucket policies
  • Lifecycle rules
  • Replication configuration

ALB Module

  • Application Load Balancer
  • Target groups
  • Listener rules
  • SSL/TLS certificates
  • Access logs

Lambda Module

  • Lambda function
  • IAM execution role
  • CloudWatch Logs
  • Environment variables
  • VPC configuration (optional)

Security Group Module

  • Reusable security group rules
  • Ingress/egress rules
  • Dynamic rule creation
  • Rule descriptions

Best Practices

  1. Use AWS provider version ~> 5.0
  2. Enable encryption by default
  3. Use least-privilege IAM
  4. Tag all resources consistently
  5. Enable logging and monitoring
  6. Use KMS for encryption
  7. Implement backup strategies
  8. Use PrivateLink when possible
  9. Enable GuardDuty/SecurityHub
  10. Follow AWS Well-Architected Framework

Source: SKILL.md on GitHub

No alerts16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill provides safe template examples and patterns for building Terraform modules across AWS, Azure, GCP, and OCI.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer6mo

    2 files scanned · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 24df162. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 7 months ago
  • terraform
  • aws
  • azure
  • gcp
  • oci
  • infrastructure-as-code
  • modules
  • cloud-provisioning
  • iac

README badge

README badge for wshobson/agents/terraform-module-library

Provides patterns and templates for building reusable Terraform modules across AWS, Azure, GCP, and OCI with standardized structure, validation, and testing. Use when establishing infrastructure-as-code standards or creating multi-cloud compatible modules that follow Terraform best practices like pinned versions, input validation, and Terratest coverage.

Generated from the current SKILL.md.

Does this skill support multiple cloud providers?
Yes. The skill covers AWS, Azure, GCP, and OCI with standard module patterns for each provider, including examples for VPC, compute, and storage across clouds.
What testing approach does this skill use?
The skill uses Terratest (Go-based) to validate modules, as shown in the vpc_test.go example.
Are example configurations included?
Yes. The skill provides a standard module structure with examples/ directories containing complete, runnable configurations for each module.
Does this skill include validation for module inputs?
Yes. The skill demonstrates input validation using Terraform validation blocks, as shown in the cidr_block variable example.

Generated from the current SKILL.md. These answers refresh after source changes.