Skip to content

Standard Replication is not enabled

Description

This policy checks if Standard Replication is enabled. Standard Replication refers to the mechanism of storing multiple copies of data across regions to ensure their durability and availability. If this is not enabled, it can potentially lead to data loss in case of regional failures, compromising important business information and processes. Therefore, enabling Standard Replication is important for robust data recovery and backup strategies.

Code Example

hcl
resource "azurerm_redis_cache" "example" {
  name                = "example"
  ...
  sku_name                 = "Standard"
}

Remediation

Terraform

  • Resource: azurerm_redis_cache
  • Arguments: sku_name

To fix this issue, you need to set the `sku_name` attribute of the `azurerm_redis_cache` resource to `Standard` or `Premium`.

Rule Details

FieldValue
IDIAC-0737
SeverityHIGH
IaC TypeTerraform
FrameworksTerraform, TerraformPlan
Checkov IDCKV_AZURE_230

References