diff --git a/docs/en/enterprise-edition/policy-reference/azure-policies/azure-general-policies/azr-general-167.adoc b/docs/en/enterprise-edition/policy-reference/azure-policies/azure-general-policies/azr-general-167.adoc index 13e2cead5a..596ecb4ea9 100644 --- a/docs/en/enterprise-edition/policy-reference/azure-policies/azure-general-policies/azr-general-167.adoc +++ b/docs/en/enterprise-edition/policy-reference/azure-policies/azure-general-policies/azr-general-167.adoc @@ -40,13 +40,13 @@ This policy checks if the retention policy is enabled for Azure Container Regist ---- resource "azurerm_container_registry" "example" { ... - # If using azurerm version <4 + # If using azurerm version below 4.0 + retention_policy { + enabled = true + days = 7 + } - # If using azurerm version 4 + # If using azurerm version 4.0 and above + retention_policy_in_days = 7 } ----