AWS 堆栈使用最终快照删除 RDS

The AWS stack removes RDS with the final snapshot

前段时间在删除stack的时候,RDS也被删除了,没有留下最后的快照,现在删除RDS的时候,创建了一个手动快照,没有删除。可能是什么原因?

我是这样删除栈的: aws cloudformation delete-stack --stack-name 堆栈名称

我没有发现任何类似的问题。

documentation for AWS::RDS::DBCluster 说:

The default DeletionPolicy for AWS::RDS::DBCluster resources is Snapshot.

文档的 change history 有一个 2017 年 8 月 18 日 的条目,上面写着:

The default DeletionPolicy is now Snapshot for AWS::RDS::DBCluster resources and for AWS::RDS::DBInstance resources that don't specify the DBClusterIdentifier property.

所以,你没有发疯。