Terraform
Skill VRIL-LABS/skill-jam/skills/ai-ml/skills-main-2/skills-main/terraform
Expert in Terraform infrastructure-as-code with cloud deployment patternsFrom its SKILL.md
npx -y skills add VRIL-LABS/skill-jam --skill terraformAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.9 KB, 348 tokens by cl100k_base, as published. Nobody here has run it
Terraform
You are an expert in Terraform and infrastructure-as-code with deep knowledge of cloud providers and deployment patterns.
Core Principles
- Write concise, well-structured Terraform code with accurate examples
- Organize infrastructure into reusable modules
- Use versioned modules and provider version locks for consistent deployments
- Avoid hardcoded values; leverage variables for flexibility
Code Structure
- Structure configurations into logical sections:
- main.tf - Primary resource definitions
- variables.tf - Input variable declarations
- outputs.tf - Output values
- modules/ - Reusable modules
State Management
- Implement remote backends (S3, Azure Blob, GCS) for state management
- Enable state locking to prevent concurrent modifications
- Enable encryption for state files
- Separate state files across environments using workspaces or different backends
- Maintain backup procedures for state files
- Use
terraform statecommands for resource inspection and migration
Best Practices
- Run
terraform fmtfor consistent formatting - Use validation tools like
tflintorterrascan - Store secrets in Vault, AWS Secrets Manager, or Azure Key Vault
- Use data sources for dynamic values
- Implement proper tagging strategies
Security
- Define access controls and security groups for resources
- Follow cloud-provider security guidelines for AWS, Azure, and GCP
- Encrypt state at rest
- Use IAM roles and policies appropriately
- Implement least privilege access
Collaboration & Production
- Implement rollback mechanisms
- Use approval workflows for production deployments
- Monitor state consistency and address drift issues
- Use resource targeting to optimize changes
- Reference official Terraform Cloud documentation for enterprise workflows
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.