Delete a Folder

In this guide, you will remove a Guardrails folder using the console UI. Removing a folder takes it, and the resources tracked under it, out of the Guardrails CMDB. Nothing in your cloud accounts is affected, and anything removed can be imported again later. Policy settings and permissions scoped to the folder are removed.

Prerequisites

[!CAUTION] Removing a folder also removes the resources tracked under it from Guardrails, and removes any policy settings and permission grants scoped to that folder. Review the folder's Policies and Permissions tabs, and its child resources, before removing it to understand the impact.

Step 1: Navigate to the Folder

Open the folder you want to remove, from the Explore tree of its parent resource or by navigating directly to its detail page.

Step 2: Open the Remove Dialog

Click Actions in the top-right corner and select Remove from Turbot. The Remove Folder ... from Turbot CMDB? confirmation dialog opens.

Remove Folder confirmation dialog showing how many resources will be removed, with a name confirmation field

The dialog states how many resources will be removed (the folder plus any resources tracked under it) and explains that the action only removes data from Guardrails, not from your cloud accounts.

Step 3: Confirm and Delete

Type the folder's full name (for example, Staging Environment) in the confirmation field. The Delete button becomes enabled once the name matches. Leave Retain history for deleted resources checked to keep the removal history.

Click Delete to remove the folder. Guardrails navigates you to the parent resource after removal.

Troubleshooting

IssueSolution
Delete button stays disabledThe typed name must match the folder's title exactly, including capitalization and spaces.
Child resources are gone after removalResources tracked under the folder are removed from Guardrails along with it. Re-import them (or the folder's cloud accounts) to bring them back.
Policies stopped working after removalPolicy settings scoped to the removed folder are removed. Recreate the settings at the parent or a new folder.
Permission deniedConfirm you have Turbot/Admin or Turbot/Owner permissions at the folder level or above.
Further assistanceOpen a Support Ticket

Next Steps