Features
Plan explanation
Crust’s plan explanation feature uses AI to provide clear, human-readable explanations of your Terraform plan outputs, making it easier to understand complex infrastructure changes.
How It Works
When you run crust explain
, Crust will:
- Execute your Terraform plan
- Analyze the plan output
- Generate a clear explanation of the changes
- Present the explanation in a readable format
Explanation Features
1. Change Summarization
- Clear descriptions of what’s changing
- Impact assessment of changes
- Resource-level explanations
2. Contextual Understanding
- Related resource changes
- Dependencies between changes
- Impact on existing infrastructure
3. Best Practices
- Suggestions for improvements
- Potential issues to watch for
- Alternative approaches
Usage
Basic Usage
Advanced Usage
Output Format
Table Format (Default)
Best Practices
- Review explanations carefully: Make sure you understand all changes
- Use in team reviews: Share explanations with team members
- Check for warnings: Pay attention to any warnings or suggestions
- Combine with other analyses: Use alongside security and cost analysis
Tips for Better Explanations
- Keep plans focused: Make smaller, focused changes for clearer explanations
- Use meaningful names: Use descriptive resource names
- Document changes: Add comments to your Terraform code
- Review regularly: Run explanations regularly during development