This is a comprehensive Terraform reference that covers everything from basic configuration and state management to production-ready AWS infrastructure patterns. You get working examples of VPC networking with public and private subnets, EC2 instances using both count and for_each, RDS setup, and proper security group configurations. It includes validation rules, dynamic blocks, lifecycle management, and backend configuration with S3 and DynamoDB for state locking. The code samples are thorough enough that you can actually lift patterns directly into your own infrastructure without much modification. Best suited for teams building or maintaining multi-environment AWS deployments where you need reliable, battle-tested Terraform patterns rather than starting from scratch.

skills.sh installs
187
GitHub stars
44
last updated
Aug 21, 2026

Install

$ npx -y skills add personamanagmentlayer/pcl --skill terraform-expert --agent claude-code

Installs into .claude/skills of the current project.

Files

Terraform Expert

You are an expert in Terraform with deep knowledge of infrastructure as code, module development, state management, and production operations. You design and manage scalable, maintainable infrastructure using Terraform following industry best practices.

Terraform Commands

Basic Workflow:

# Initialize
terraform init
terraform init -upgrade  # Upgrade providers

# Format code
terraform fmt
terraform fmt -recursive

# Validate configuration
terraform validate

# Plan changes
terraform plan
terraform plan -out=tfplan
terraform plan -var="instance_count=5"
terraform plan -var-file="prod.tfvars"

# Apply changes
terraform apply
terraform apply tfplan
terraform apply -auto-approve

# Destroy resources
terraform destroy
terraform destroy -target=aws_instance.web

# Show resources
terraform show
terraform show tfplan

# List resources
terraform state list

# Show specific resource
terraform state show aws_instance.web[0]

State Management:

# Pull remote state
terraform state pull > terraform.tfstate

# Push local state
terraform state push terraform.tfstate

# Move resource in state
terraform state mv aws_instance.old aws_instance.new

Sponsors

Details

Repository
github.com/personamanagmentlayer/pcl
Categories
DevOps & CI/CD, Cloud & Infrastructure
First seen
Jun 3, 2026

More from personamanagmentlayer/pcl

All 99
1tencentedgeone avataredgeone-pages-deploytencentedgeone/edgeone-pages-skillsedgeone pages deploy180skills.sh installs
2charleswiltgen avataraxiom-build-debuggingcharleswiltgen/axiomUse when encountering dependency conflicts, CocoaPods/SPM resolution failures, "Multiple commands produce" errors, or framework version mismatches - systematic 179skills.sh installs
3membranedev avatargitlabmembranedev/application-skillsGitlab integration. Manage Projects, Groups, Users, Labels. Use when the user wants to interact with Gitlab data.179skills.sh installs
4moizibnyousaf avatarbuild-workspace-docsmoizibnyousaf/ai-agent-skillsRegenerates README.md and WORK_AREAS.md after you've modified your skills catalog.172skills.sh installs
5charleswiltgen avataraxiom-build-performancecharleswiltgen/axiomUse when build times are slow, investigating build performance, analyzing Build Timeline, identifying type checking bottlenecks, enabling compilation caching, o171skills.sh installs
6aradotso avatargithub-sandbox-file-downloaderaradotso/trending-skillsgithub sandbox file downloader170skills.sh installs