Delete a Policy Setting
In this guide, you will delete an existing policy setting from your Guardrails workspace. When you delete a policy setting, all affected controls revert to the next applicable value in the hierarchy, either an inherited setting from a parent resource or the policy type's default value. This is a permanent action, so make sure you understand the impact before proceeding.
Prerequisites
- Access to the Guardrails console with
Turbot/Adminpermissions or higher. - An existing policy setting to delete.
Step 1: Open the Policy Setting
Open the policy setting you want to remove. From the Policies page you can reach it through the policy type's settings list, or from a resource's or control's Policies tab. The setting opens on its detail page, showing its current value, precedence, and resource, with Edit and Delete buttons in the header.

Step 2: Delete the Setting
Click Delete. A confirmation dialog names the policy type and the resource so you can be sure you're removing the right setting.

Review the details, then click Delete to confirm.
[!WARNING] Deleting a policy setting is permanent. All controls governed by this setting revert to the inherited value from a parent setting or the policy type's default. If this setting was enforcing compliance (for example
Enforce: Enabled), affected resources are no longer remediated automatically until another setting covers them.
Step 3: Verify the Deletion
After you confirm, Guardrails removes the setting and it no longer appears in the policy type's settings list. To confirm that controls are reverting correctly:
- Open a resource that was covered by the deleted setting.
- Check its Policies tab to confirm the value now reflects the inherited or default setting.
- Review the Activity tab to see the control re-evaluation events.
Via Terraform
If you manage policy settings with Terraform, you have two options:
Option 1: Remove the resource block from your Terraform configuration and run terraform apply. Terraform detects the missing resource and deletes the setting.
Option 2: Targeted destroy to remove a specific setting without modifying your configuration files:
terraform destroy -target=turbot_policy_setting.s3_bucket_versioning
In both cases, Terraform handles the deletion through the Guardrails API.
Troubleshooting
| Issue | Solution |
|---|---|
| Delete not available | You may lack Turbot/Admin permissions on the resource where the setting is applied. Check your permissions on the target resource. |
| Controls in an unexpected state after deletion | Controls revert to the next setting in the hierarchy. Check the Hierarchy tab on the setting to see which setting now applies. If no other setting exists, the policy type's default value takes effect. |
| Need to undo a deletion | Recreate the setting with the same policy type, resource, and value. See Create a Policy Setting. |
| Further assistance | Open a Support Ticket |
Next Steps
- Create a Policy Setting: Recreate a setting if the deletion was unintended.
- Create an Exception: If you deleted a broad setting, consider using targeted exceptions instead.