Skip to content

runbooks inventory workflow-multi-accountΒΆ

Auto-generated from runbooks inventory workflow-multi-account --help on 2026-05-21. Source of truth: runbooks PyPI package v1.3.22

Usage: runbooks inventory workflow-multi-account [OPTIONS]

  Execute 5-layer pipeline (multi-account LZ).

  πŸ”‘ Profile Requirements:   --ops-profile (CENTRALISED_OPS): Resource Explorer
  aggregator access   --management-profile (MANAGEMENT): Organizations API
  access   --billing-profile (BILLING): Cost Explorer API access

  πŸ’‘ 5-Layer Pipeline:   Layer 1: Discovery      (resource-explorer + ops-
  profile)   Layer 2: Organizations  (enrich-accounts + management-profile)
  Layer 3: Costs          (enrich-costs + billing-profile)   Layer 4: Activity
  (enrich-activity)   Layer 5: Scoring        (score-decommission)

  Example:   runbooks inventory workflow-multi-account \     --ops-profile
  CENTRALISED_OPS \     --management-profile MANAGEMENT \     --billing-
  profile BILLING \     --resource-type ec2

Options:
  --resource-type TEXT            Resource type to discover (ec2, workspaces,
                                  rds, lambda)
  --output-dir TEXT               Output directory for pipeline artifacts
  --months INTEGER                Cost lookback months (default: 12)
  --cross-validate                Enable 4-way cross-validation after
                                  discovery
  --decommission / --no-decommission
                                  Include E1-E7 decommission scoring (default:
                                  on)
  --persona [cfo|cto|cloudops|finops|all]
                                  Generate persona-specific report
                                  (cfo|cto|cloudops|finops|all)
  --csv                           Export final result as CSV
  --json                          Export final result as JSON
  --dry-run                       Show pipeline plan without executing
  --profile TEXT                  AWS profile (KISS: auto-resolves
                                  management/billing/ops from
                                  AWS_MANAGEMENT_PROFILE, AWS_BILLING_PROFILE
                                  env vars)
  --help                          Show this message and exit.

ExamplesΒΆ