Skip to main content
← Back to list
01Issue
FeatureShippedExtensions
Assigneesstack72

#404 dbcluster state schema is missing DBClusterMembers (writer/reader, instance class)

Opened by jentz · 5/21/2026· Shipped 5/22/2026

The @swamp/aws/rds/dbcluster model's persisted state — populated by get / sync via the CloudControl AWS::RDS::DBCluster shape — does not include DBClusterMembers. After sync, the model cannot answer foundational questions about an Aurora cluster:

  • Which member is currently the writer?
  • What instance class is each member running?
  • Which AZ does each member live in?

CloudControl/CFN omits this information by design, but the RDS native DescribeDBClustersCommand returns it. For any workflow operating on live Aurora clusters (failover audits, instance-class migrations, AZ rebalancing), this gap forces consumers to bypass the data model and call AWS directly.

Implementation scope:

  • Augment get / sync to call DescribeDBClustersCommand (in addition to or in place of the CloudControl read), and persist member info into the state resource.
  • Schema change: add DBClusterMembers (with DBInstanceIdentifier, IsClusterWriter, DBClusterParameterGroupStatus, PromotionTier) to StateSchema. Optionally also enrich each entry with DBInstanceClass and AvailabilityZone by joining against DescribeDBInstances.
  • Additive, non-breaking — declare an upgrades entry for the new version.

Related: the list/discover gap is filed separately. Both share a fix path (direct @aws-sdk/client-rds usage), so they could land together.

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+ 1 MOREASSIGNED+ 5 MOREREVIEW+ 3 MOREPR_MERGEDSHIPPED

Shipped

5/22/2026, 7:23:33 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack725/22/2026, 3:31:55 PM

Sign in to post a ripple.