[Enhancement]: enable restore to point in time on aws_rds_cluster
based on cluster_resource_id
#38549
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/rds
Issues and PRs that pertain to the rds service.
Milestone
Description
The resource
aws_rds_cluster
has multiple backup restore possibilities, restore from snaphot and restore from an existing cluster. The lacking feature is the restore from an automated backup which is retained after cluster deletion.On a resource level,
aws_rds_cluster.restore_to_point_in_time
has already asource_cluster_identifier
parameter. This parameter has one major drawback, as specified in the AWS SDK:This is not the case for the
source_cluster_resource_id
(example value:cluster-FT2Y56NA7X7JDBKX7GNV5WX3FX
), which is unique (you can create, delete and recreate a cluster with the same ARN, which will have different resource IDs). Restores based on a retained automated backup of a deleted database cluster is only possible withsource_cluster_resource_id
.Affected Resource(s) and/or Data Source(s)
aws_rds_cluster
Potential Terraform Configuration
References
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: