Skip to main content
← Back to list
01Issue
FeatureOpenExtensions
AssigneesNone

#403 Add a list/discover method to dbcluster for enumerating clusters in a region

Opened by jentz · 5/21/2026

The @swamp/aws/rds/dbcluster model currently exposes only single-cluster operations (create / get / update / delete / sync) — all of which require the cluster identifier to already be known. There is no way to enumerate existing clusters in the current account and region.

This is a structural gap for any audit, inventory, or migration workflow. I hit it building a "list Aurora clusters in eu-west-1 with N members" inventory for an r7g → r8g instance class cutover, and ended up writing a separate @jentz/aws-rds-inventory model to do it. Other community extensions (e.g. @webframp/aws/guardduty) ship list-style discovery methods, so the pattern is established.

Implementation scope:

  • Add a list (or discover) method to the dbcluster model that paginates DescribeDBClusters and emits one data artifact per cluster.
  • CloudControl's readResource helper isn't usable for this — AWS::RDS::DBCluster has no CloudControl list operation — so the method needs a direct @aws-sdk/client-rds dependency.
  • Reuse the existing SDK default credential chain pattern from models/_lib/aws.ts; no new auth surface.

Related: the persisted state today is missing DBClusterMembers (filed separately). Fixing both together would make list results immediately useful for fleet operations.

Upstream repository: https://github.com/systeminit/swamp-extensions

Environment

  • Extension: @swamp/aws/[email protected]
  • swamp: 20260520.150010.0-sha.47868db6
  • OS: darwin (aarch64)
  • Deno: 2.7.14+19bd3d8
  • Shell: /bin/zsh
02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED

Open

5/21/2026, 7:17:02 PM

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.