Beta Feature - Code Optimizer is currently in beta. We’re actively improving the feature and welcome your feedback.
What is Code Optimizer?
Code Optimizer is an AI-powered static analyzer that helps platform engineers and DevOps teams maintain high-quality infrastructure-as-code without slowing down delivery. It automatically scans your HCL code for technical issues and best-practice violations, then generates AI-powered fixes and creates pull requests, all with one click.Why Code Optimizer?
Platform engineers push IaC changes rapidly, but thorough code reviews are time-consuming and often deprioritized. Code Optimizer helps catch critical issues like:- Security risks - Unencrypted storage, open security groups, compliance violations
- Code structure - Poorly structured modules, inconsistent naming, unused variables
- Configuration gaps - Missing lifecycle rules, backend configurations, or state drift safeguards
- Technical debt - Deprecated syntax, non-compliant patterns that break at scale
How Code Optimizer Solves This
- Detecting Issues - Scans repositories using industry-standard tools (for example, TFLint and Checkov)
- AI-Powered Remediation - Generates context-aware code fixes using AI and creates pull requests on-demand
- Centralized Visibility - Track and manage all issues in one place
Key Features
- Automated Scanning - Detect quality, security, and compliance issues across all repositories
- AI-Powered Fixes - Generate context-aware code fixes with one click
- Pull Request Workflow - Fixes are submitted as PRs for team review
- Centralized View - Track, prioritize, and manage all issues in one place
How It Works
Workflow
- Scan - Trigger manual scans to detect issues
- Review - View issues with severity and context
- Fix - Generate AI-powered fixes for selected issues
- Merge - Review and merge PRs created by Code Optimizer
- Verify - Re-scan to confirm issues are resolved