Skip to main content

Aws Cost Audit

@webframp/aws-cost-auditv2026.07.27.1· 1d agoWORKFLOWSREPORTS
01README

AWS cost audit workflow — identifies infrastructure waste by combining Cost Explorer spend data, resource inventory, and networking inspection. Generates a report with savings recommendations.

Quick Start

swamp extension pull @webframp/aws-cost-audit

swamp model create @webframp/aws/cost-explorer aws-costs --global-arg region=us-east-1
swamp model create @webframp/aws/networking aws-networking --global-arg region=us-east-1
swamp model create @webframp/aws/inventory aws-inventory --global-arg region=us-east-1

swamp workflow run @webframp/cost-audit

Required IAM Permissions

  • ce:GetCostAndUsage
  • ec2:DescribeInstances, ec2:DescribeNatGateways, ec2:DescribeAddresses
  • rds:DescribeDBInstances
  • dynamodb:ListTables, dynamodb:DescribeTable
  • lambda:ListFunctions
  • s3:ListBuckets
  • elasticloadbalancing:DescribeLoadBalancers, elasticloadbalancing:DescribeTargetGroups, elasticloadbalancing:DescribeTargetHealth
  • cloudwatch:GetMetricStatistics
02Release Notes

2026.07.27.1

Changed: Bump @webframp/aws/cost-explorer 2026.07.21.1 → 2026.07.24.1

Changed: Bump @webframp/aws/networking 2026.07.21.1 → 2026.07.24.1

Changed: Bump @webframp/aws/inventory 2026.07.21.1 → 2026.07.24.1

2026.07.24.1

Changed: Bump dependency pins to latest published versions:

  • @webframp/aws/cost-explorer 2026.07.18.1 → 2026.07.21.1
  • @webframp/aws/networking 2026.07.18.1 → 2026.07.21.1
  • @webframp/aws/inventory 2026.07.18.1 → 2026.07.21.1
03Workflows1
@webframp/cost-auditdd789d8f-82ff-42d4-9e26-c5201c36a929

AWS cost audit workflow — gathers spend data from Cost Explorer, resource inventory, and networking details, then enriches with CloudWatch metrics and identifies top cost drivers. Results feed into the cost-audit report for savings recommendations.

gather-cost-and-resourcesCollect cost data and resource inventory in parallel
1.get-cost-by-serviceaws-costs.get_cost_by_service— Get cost breakdown by AWS service
2.get-cost-by-usage-type-ec2aws-costs.get_cost_by_usage_type— Get EC2 cost breakdown by usage type
3.get-cost-by-usage-type-rdsaws-costs.get_cost_by_usage_type— Get RDS cost breakdown by usage type
4.get-cost-by-usage-type-s3aws-costs.get_cost_by_usage_type— Get S3 cost breakdown by usage type
5.get-cost-by-usage-type-lambdaaws-costs.get_cost_by_usage_type— Get Lambda cost breakdown by usage type
6.get-cost-trendaws-costs.get_cost_trend— Get daily cost trend over the period
7.get-cost-comparisonaws-costs.get_cost_comparison— Compare current period costs to previous period
8.inventory-allaws-inventory.inventory_all— Gather full resource inventory including stopped instances and EBS
9.list-nat-gatewaysaws-networking.list_nat_gateways— List NAT Gateways for networking waste analysis
10.list-load-balancersaws-networking.list_load_balancers— List load balancers for utilization analysis
11.list-elastic-ipsaws-networking.list_elastic_ips— List Elastic IPs to find unattached addresses
enrich-metricsGather data transfer metrics for networking resources
1.get-data-transfer-metricsaws-networking.get_data_transfer_metrics— Get data transfer metrics for NAT Gateways and load balancers
deep-divePerform deeper cost analysis based on initial findings
1.get-top-cost-driversaws-costs.get_top_cost_drivers— Identify the top cost drivers by service and usage type
04Reports1
@webframp/cost-audit-reportworkflow
cost_audit_report.ts

Aggregates cost, inventory, and networking data from the cost-audit workflow into a savings report

awscostfinopsaudit
05Previous Versions11
2026.07.24.1

2026.07.24.1

Changed: Bump dependency pins to latest published versions:

  • @webframp/aws/cost-explorer 2026.07.18.1 → 2026.07.21.1
  • @webframp/aws/networking 2026.07.18.1 → 2026.07.21.1
  • @webframp/aws/inventory 2026.07.18.1 → 2026.07.21.1

updated dependencies

2026.07.20.1

2026.07.20.1

Changed: Refreshed dependency pins to the latest published releases. No behavioral changes to the cost-audit workflow or report.

Upgrade note: Bumps @webframp/aws/cost-explorer, @webframp/aws/networking, and @webframp/aws/inventory 2026.05.20.1 → 2026.07.18.1, pulled automatically with this extension.

updated dependencies

2026.07.18.1

2026.07.18.1

Changed: Version bump only, no code changes.

2026.07.16.1

Changed: README and LICENSE reformatted (deno fmt) in PR #134; this is the first version bump to publish that formatting to the registry. No functional or behavioral change.

2026.07.16.1

2026.07.16.1

Changed: README and LICENSE reformatted (deno fmt) in PR #134; this is the first version bump to publish that formatting to the registry. No functional or behavioral change.

2026.05.24.1

updated dependencies

2026.04.22.1

updated platforms

2026.04.14.2
2026.04.14.1
2026.04.13.1
2026.04.12.2
2026.04.12.1
06Stats
A
100 / 100
Downloads
27
Archive size
16.5 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
07Platforms
08Labels