Releases: YaleSpinup/rds-api
Releases · YaleSpinup/rds-api
Release list
v0.19.2
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) whensnapshot=true - Added
rds:AddTagsToResourcepermission 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
4e20884Add required cluster snapshot permissions5b9f449Fix AddTagsToResource error
v0.19.2-pre2
v0.19.2-pre
v0.19.1
v0.19.0
v0.18.3
v0.18.2
What's Changed
- Bump github.com/aws/aws-sdk-go from 1.45.25 to 1.50.11 by @dependabot in #75
- Bump actions/checkout from 2 to 4 by @dependabot in #51
- Bump github.com/google/uuid from 1.3.1 to 1.6.0 by @dependabot in #74
- Bump golang.org/x/crypto from 0.14.0 to 0.18.0 by @dependabot in #69
- Bump actions/setup-go from 2 to 5 by @dependabot in #62
- Bump the go_modules group with 5 updates by @dependabot in #80
- Bump github.com/YaleSpinup/apierror from 0.1.2 to 0.1.5 by @dependabot in #54
- Bump github.com/YaleSpinup/aws-go from 0.2.3 to 0.2.5 by @dependabot in #53
Full Changelog: v0.18.1...v0.18.2