berenddeboer / cdk-rds-sql

A CDK construct that allows creating roles and databases an on Aurora Serverless Postgresql cluster.
Apache License 2.0
23 stars 11 forks source link

feat(sql): enable rollback #24

Closed ww-daniel-mora closed 5 months ago

ww-daniel-mora commented 5 months ago

Fixes #

ww-daniel-mora commented 5 months ago

Okay @berenddeboer I'd like to propose this as an alternative to more robust role deletion. This change adds an optional rollback to Sql constructs. My hope is this actually solves the role deletion issue by enabling users to undo permissions on their own explicitly when the Sql resource is deleted.

berenddeboer commented 5 months ago

Thank you so much, seems to be a nice new feature!