Skip to content

Releases: YaleSpinup/rds-api

v0.19.2

Choose a tag to compare

@btassone btassone released this 04 Sep 22:40
9faf65e

Bug Fixes

Fixed Database Deletion with Snapshots

Issue: Database deletion operations with snapshot=true were failing with 403 AccessDenied errors when AWS RDS attempted to copy tags to final snapshots.

Root Cause: AWS RDS automatically copies tags from the source database/cluster to final snapshots during deletion, which requires the rds:AddTagsToResource permission that was missing from the IAM policy.

Error Fixed:

User: arn:aws:sts::846761448161:assumed-role/SpinupXAManagementRoleTst/... is not authorized to perform: rds:AddTagsToResource on resource: arn:aws:rds:us-east-1:846761448161:cluster-snapshot:final-spinbt2l-db00000a

Changes:

  • Enhanced database deletion permission logic to conditionally include snapshot creation permissions (rds:CreateDBClusterSnapshot, rds:CreateDBSnapshot) when snapshot=true
  • Added rds:AddTagsToResource permission for tag copying during final snapshot creation
  • Maintains security by only granting additional permissions when snapshots are actually being created

Impact:

  • ✅ Database deletion with final snapshots now works without permission errors
  • ✅ No breaking changes to existing API functionality
  • ✅ Maintains principle of least privilege - permissions only granted when needed

Commits

  • 4e20884 Add required cluster snapshot permissions
  • 5b9f449 Fix AddTagsToResource error

v0.19.2-pre2

v0.19.2-pre2 Pre-release
Pre-release

Choose a tag to compare

@btassone btassone released this 04 Sep 17:05

v0.19.2-pre

v0.19.2-pre Pre-release
Pre-release

Choose a tag to compare

@btassone btassone released this 04 Sep 16:52

Full Changelog: v0.19.1...v0.19.2-pre

v0.19.1

Choose a tag to compare

@btassone btassone released this 19 Dec 07:17
82f19ec

What's Changed

  • Update go.mod and packages to be compatible with go1.23.4. Updated Dockerfile and Dockerfile.local by @btassone in #81

Full Changelog: v0.19.0...v0.19.1

v0.19.0

Choose a tag to compare

@btassone btassone released this 19 Dec 07:06
35875e4

What's Changed

Full Changelog: v0.18.3...v0.19.0

v0.18.3

Choose a tag to compare

@btassone btassone released this 19 Dec 06:58
20e8c24

What's Changed

Full Changelog: v0.18.2...v0.18.3

v0.18.2

Choose a tag to compare

@btassone btassone released this 19 Dec 06:50
9feb181

What's Changed

Full Changelog: v0.18.1...v0.18.2

v0.18.2-pre01

v0.18.2-pre01 Pre-release
Pre-release

Choose a tag to compare

@trstne trstne released this 21 Aug 17:27

Full Changelog: v0.18.1...v0.18.2-pre01

v0.18.1

Choose a tag to compare

@btassone btassone released this 05 Aug 06:42
f447843

What's Changed

Full Changelog: v0.18.0...v0.18.1

v0.18.1-pre

v0.18.1-pre Pre-release
Pre-release

Choose a tag to compare

@btassone btassone released this 05 Aug 06:01

Full Changelog: v0.18.0...v0.18.1-pre