leftsize/LeftSize Cloud Cost Optimization
Scan AWS and Azure infrastructure for cost optimization opportunities using Cloud Custodian
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| mode | Action mode: scan (default) or stats | no | scan |
| installation-id | GitHub App installation ID (from LeftSize onboarding) | yes | — |
| repository-token | Secure repository token (from LeftSize onboarding) | yes | — |
| backend-url | LeftSize backend API URL | no | https://api.leftsize.com |
| period | Stats period: 7d, 30d, 90d, or all (stats mode only) | no | 30d |
| format | Output format: json or markdown (stats mode only) | no | markdown |
| report | Report type: summary, detailed, or executive (stats mode only) | no | summary |
| cloud-provider | Cloud provider to scan (azure or aws) | no | azure |
| azure-subscription-ids | Comma-separated Azure subscription IDs to scan (empty = all accessible) | no | — |
| aws-regions | Comma-separated AWS regions to scan (empty = all accessible) | no | — |
| environment-name | Environment name for this scan (e.g., Production, Development, Acceptance). Auto-detected from resource names if not specified. | no | — |
| currency | Currency code for cost display (e.g., EUR, USD, GBP). Auto-detected from Azure if not specified. | no | — |
| include-policies | Comma-separated policy categories to include (e.g., cost-optimization,governance,security) | no | — |
| exclude-policies | Comma-separated specific policy names to exclude (e.g., leftsize-idle-vm) | no | — |
| verbose | Enable verbose logging | no | false |
Outputs
| name | description |
|---|---|
| findings-count | Total number of findings detected (scan mode) |
| findings-submitted | Whether findings were successfully submitted to backend (scan mode) |
| findings-json | JSON string of all findings (scan mode) |
| report | Generated report content (stats mode, markdown or json) |
| stats-json | Raw statistics as JSON (stats mode) |
| fix-ratio | Fix ratio percentage (stats mode) |
| potential-savings | Potential monthly savings (stats mode) |
| realized-savings | Realized monthly savings (stats mode) |
| currency | Currency code used for savings (stats mode, e.g., EUR, USD) |
| currency-symbol | Currency symbol for display (stats mode, e.g., €, $) |