---
title: "RDS clusters and instances have deletion protection disabled"
canonical: "https://kb.cynergy.app/space/MD/1208385540/RDS%20clusters%20and%20instances%20have%20deletion%20protection%20disabled"
format: markdown
---
# Description

Activating deletion protection for Amazon RDS clusters and instances helps prevent accidental deletion. With this feature enabled, you cannot delete these resources through the AWS Console, CLI, or API, offering an extra safeguard against unintended deletion by any user in your AWS account.

# Fix - Build time

## Terraform

- **Resource:** aws_rds_cluster
- **Argument:** deletion_protection

```
resource "aws_rds_cluster" "default" {
  ...
+ deletion_protection = true
}
```