Skip to main content

Aws Rds Reservations

@jentz/aws-rds-reservationsv2026.06.08.1· 1d agoMODELS
01README

Lists every running RDS DB instance (Aurora cluster members AND standalone single-instance RDS, via DescribeDBInstances) and every reserved DB instance (via DescribeReservedDBInstances), per profile × region — the read-only data behind reserved-instance coverage planning. Read-only (Describe* + sts:GetCallerIdentity).

A single sweep method fans out over every configured profile and region in one execution (one model lock, all output in one pass). It emits one instance resource per provisioned DB instance, one reserved resource per reservation, and one scan_error per (profile, region) phase that fails — an expired SSO token or an SCP-denied region is surfaced as a row, never aborting the sweep. regions is required: with an empty list the sweep makes no AWS calls and writes a single no_regions scan_error (zero data rows), which the companion report treats as degraded rather than a healthy empty fleet.

Pairs with the companion report @jentz/aws-rds-reservation-coverage, which normalizes these rows into size-flexible large-equivalent units and reports the running-minus-reserved coverage gap.

Instance-level + reservations scope. For cluster-level inventory (one resource per Aurora / Multi-AZ DB cluster and per cluster member) see the sibling @jentz/aws-rds-inventory.

02Models1
@jentz/aws-rds-reservationsv2026.06.08.1aws_rds_reservations.ts

Global Arguments

ArgumentTypeDescription
profilesarrayNamed AWS profiles to sweep, one account each. Empty (default) uses the
regionsarrayRegions to sweep per account. Required — RDS describe calls are
requiredProfileSuffixstringIf set, every named profile must end with this suffix or it is refused
fn sweep()
Inventory every provisioned and reserved DB instance across

Resources

instance(infinite)— One provisioned DB instance (Aurora member or standalone) observed
reserved(infinite)— One reserved DB instance offering observed in one (account,
scan_error(infinite)— A (profile, region) phase that could not be assessed — expired SSO
03Previous Versions2
2026.06.07.2Jun 7, 2026
2026.06.07.1Jun 7, 2026

Initial release. Fleet-wide RDS reserved-instance sweep across profiles x regions: one instance row per DB instance, one reserved row per reservation, and scan_error rows for failures (throttling is retried with full-jitter backoff; failures become rows rather than aborting the sweep). Malformed AWS rows are surfaced as scan_errors instead of being written as empty placeholders.

04Stats
A
100 / 100
Downloads
0
Archive size
322.2 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
05Platforms
06Labels