---
title: "Ensure RDS instances have backup policy"
canonical: "https://kb.cynergy.app/space/MD/991855184/Ensure%20RDS%20instances%20have%20backup%20policy"
format: markdown
---
Cynergy Policy ID: CYN_AWS_GENERAL_46  
Severity: MEDIUM

# AWS RDS instance without automatic backup setting

# Description

This check examines the attribute **backup_retention_period** which should have a value 1-35, and checks if it's set to 0 which would disable the backup.

*This check is currently under review and may be suppressed in future releases.*

# Fix - Runtime

n/a

# Fix - Build time

## Terraform

- **Resource:** aws_rds_cluster
- **Argument:** backup_retention_period

Go

```go
resource "aws_rds_cluster" "test" {
  ...
+ backup_retention_period = 35
}
```