Skip to content

runbooks finops analyze-workspacesΒΆ

enrich | Cost Management

⏳ PENDING Β· T:βœ”οΈ V:⏳ A:⏳ X:⏳

WorkSpaces cost analysis with decommission tier scoring.

Analyzes AWS/Azure cost data via Cost Explorer API for optimization opportunities

Single account

runbooks finops analyze-workspaces --profile <account>

Org-wide (Landing Zone)

# [A3-FinOps] org-wide via Landing Zone hub profile
runbooks finops analyze-workspaces --all-profile $AWS_BILLING_PROFILE

Show a Cost Management analyzes aws/azure cost data via cost explorer api for optimization opportunities summary for last month across all accounts and flag any anomalies above the 20% threshold.

☁️ Cloud Foundations: CF16

All Parameters (12)
Parameter Type Default Description
--input/-i PATH - Input WorkSpaces inventory Excel file (with Identifier, AWS Account, Region columns)
--output/-o PATH - Output enriched Excel file (multi-sheet with cost analysis)
--enable-organizations BOOL True Enable Organizations metadata enrichment (default: enabled)
--enable-cost BOOL True Enable Cost Explorer enrichment (default: enabled)
--enable-activity BOOL False Enable CloudTrail activity tracking (default: disabled, takes 60-90 seconds)
--include-12month-cost BOOL True Include 12-month cost breakdown (default: enabled)
--verbose/-v BOOL False Show detailed logs
--format CHOICE(compact table json)
--output-dir PATH . Destination folder for cost reports β€” wrong path = exports silently overwrite each other or land in an unreviewed...
--profile STRING - AWS profile (KISS: auto-resolves management/billing/ops from AWS_MANAGEMENT_PROFILE, AWS_BILLING_PROFILE env vars)
--all-profile STRING - Multi-Account: management profile for Organizations + Cost Explorer across all accounts.
--cross-validate BOOL False Re-derive the primary result from a 2nd independent source and report agreement vs the >=99.5%% accuracy gate.