mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 14:30:28 -05:00
RestoreDBClusterFromSnapshot and RestoreDBClusterToPointInTime now read DeletionProtection and set it on the new cluster before it is stored. The AWS::RDS::DBCluster provisioner reads DeletionProtection, creates the cluster with it, and applies a changed value on stack update. A stack delete of a protected cluster is refused by DeleteDBCluster and reported as the resource's DELETE_FAILED, as on AWS. A restore, or a CloudFormation role attach, that fails after creating the cluster goes through one cleanup that clears the flag and always attempts the delete, adding any failure to the original error. Closes #9056