aws-cloudformation / aws-cloudformation-resource-providers-rds

The CloudFormation Resource Provider Package For Amazon Relational Database Service
https://aws.amazon.com/rds/
Apache License 2.0
26 stars 42 forks source link

fix(DBCluster): allow creating clusters from PITR with backtracking enabled #546

Closed zrfr closed 1 month ago

zrfr commented 1 month ago

This change fixes an issue preventing customers from creating DB clusters with both SourceDBClusterIdentifier and BacktrackWindow.

The fix is to ensure that BacktrackWindow is passed in the RestoreDBClusterToPointInTime call, as backtracking can only be enabled at time of cluster creation.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.