- Newest
- Most votes
- Most comments
Hello.
The customer is using this solution https://repost.aws/knowledge-center/aurora-share-encrypted-snapshot but wants a solution that be deployed as IasC with Terraform or cloud formation.
Snapshot sharing cannot be handled by IaC, so I think a mechanism to automate it in another way is necessary.
How about creating a Lambda function that creates a copy using the customer KMS key when a snapshot is created?
If you can create this Lambda, you can use RDS event notifications and EventBridge to execute Lambda via SNS, so you can automate the creation of snapshots.
Once the snapshot copy is complete, I think it would be a good idea to share only the necessary snapshots to another AWS account.
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.overview.html
Relevant content
asked 3 years ago
- AWS OFFICIALUpdated 10 months ago

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Clone.html#Aurora.Managing.Clone.Cross-Account - can this approach be deployed as Iaac>