Skip to main content

PolarDB Cluster Deletion Protection Enabled

ID: rule:aliyun:polardb-cluster-delete-protection-enabled
Severity: medium
IaC Types: ROS, Terraform

Description

Ensures that PolarDB clusters have deletion protection enabled.

Reason for Violation

If deletion protection is not enabled, the PolarDB cluster may be released accidentally, causing data loss.

Recommendation

Set deletion_lock to 1 for the PolarDB cluster.

Resource Types

  • ROS: ALIYUN::POLARDB::DBCluster
  • Terraform: alicloud_polardb_cluster