intuit / Trapheus

This tool automates restoration of RDS database instances from snapshots into any dev, staging or production environments. It supports individual RDS Snapshot as well as cluster snapshot restore operations.
https://intuit.github.io/Trapheus/
MIT License
106 stars 53 forks source link

Support custom snapshot identifier based db restoration #132

Closed namitad closed 10 months ago

namitad commented 1 year ago

Currently Trapheus supports a limited set of input parameters to the state machine as defined here: https://github.com/intuit/Trapheus#-execution. Theidentifier parameter refers to the rds instance/cluster id.

The state machine works on the assumption/prerequisite that the restoration will be done using a snapshot with identifier in the format <identifier-snapshot> or snapshot creation will create/update snapshot with identifier as <identifier-snapshot>.

As part of this issue, we would like to add an enhancement where users can provide a unique snapshot-identifier as an additional input parameter to the state machine and the snapshot id provided as a value for this parameter be used for the db restoration process (when task=db_restore)

Refer https://github.com/intuit/Trapheus#-execution for more details on task types

github-actions[bot] commented 10 months ago

This pull request has been automatically closed because it has been inactive for more than 14 days. Please reopen if you still intend to submit this pull request.