runbooks inventory validate-costsΒΆ
Auto-generated from
runbooks inventory validate-costs --helpon 2026-05-21. Source of truth: runbooks PyPI package v1.3.22
Usage: runbooks inventory validate-costs [OPTIONS]
Validate cost data accuracy against AWS Cost Explorer.
Cross-validates enriched cost data with AWS Cost Explorer API to ensure
β₯99.5% accuracy across account-level cost aggregation.
Validation Process: - Samples resources from cost-enriched CSV - Queries AWS
Cost Explorer for actual costs - Calculates accuracy percentage (matches /
total * 100) - Reports validation results with Rich formatting
Examples: # Validate EC2 cost enrichment (10 resources) runbooks
inventory validate-costs \ --input data/outputs/ec2-cost.csv \
--profile ${BILLING_PROFILE}
# Extended validation with custom threshold runbooks inventory
validate-costs \ --input data/outputs/ec2-cost.csv \
--profile ${BILLING_PROFILE} \ --sample-size 20 --accuracy-
threshold 95.0
Options:
--input PATH Input CSV with cost-enriched data [required]
--profile TEXT AWS profile with Cost Explorer access
[required]
--sample-size INTEGER Number of resources to validate (default: 10)
--accuracy-threshold FLOAT Minimum accuracy percentage required
(default: 99.5)
-v, --verbose Show detailed execution logs
--format [compact|table|json] Output format
--help Show this message and exit.