AWS Route53: Require deleting record set protections before hosted zone deletion
Summary
Adds the error message shown when protections exist and a new step instructing users to delete record set protections on the Protections tab before deleting records or the hosted zone.
Security assessment
The added step documents a protective control (record set protections) that blocks deletion/modification of DNS records and hosted zones, and explains the guardrail error returned. This is documentation of a safety/security control rather than a fix for a specific vulnerability.
Evidence
+ 1. Delete any record set protections on the **Protections** tab. You can't delete a protected record or a hosted zone that has protections. For more information about record set protections, see [Protecting records from changes](./rrset-protection.html).
Diff
diff --git a/Route53/latest/DeveloperGuide/DeleteHostedZone.md b/Route53/latest/DeveloperGuide/DeleteHostedZone.md index f6979f7..801b2ff 100644 --- a//Route53/latest/DeveloperGuide/DeleteHostedZone.md +++ b//Route53/latest/DeveloperGuide/DeleteHostedZone.md @@ -69 +69,5 @@ If you attempt to delete the hosted zone without completing these requirements, - 1. On the hosted zone detail page, in the **Records** list, if the list of records includes any records for which the value of the **Type** column is something other than NS or SOA, choose the row, and choose **Delete**. + * If record set protections exist: **`Hosted Zone`hosted-zone-id` has resource record set protections. All resource record set protections need to be deleted (DeleteResourceRecordSetProtections) before deleting hosted zone.`** + + 1. Delete any record set protections on the **Protections** tab. You can't delete a protected record or a hosted zone that has protections. For more information about record set protections, see [Protecting records from changes](./rrset-protection.html). + + 2. On the hosted zone detail page, in the **Records** list, if the list of records includes any records for which the value of the **Type** column is something other than NS or SOA, choose the row, and choose **Delete**.