
Terraform Expert
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-codeInstalls 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- Audit Expert186
- Monitoring Expert186
- Typescript Expert185
- Ai Architect Expert182
- Istio Expert181
- Qa Expert181
- Grpc Expert180
- Media Expert180
- Microservices Expert179
- Azure Expert177
- Dbt Expert177
- Rust Expert177
- Design Expert176
- Codeql Expert172
- Cloudflare Expert171
- Airflow Expert170
- Django Expert170
- Skill Creator Expert170
- Graphql Expert167
- Data Mesh Expert165
- Finance Expert6.5K
- Telecommunications Expert1.9K
- Trading Expert966
- Real Estate Expert828