Uninstall a Mod

In this guide, you will uninstall a mod from your Guardrails workspace. Uninstalling removes the mod's resource types, policies, and controls. Only uninstall mods that are no longer needed: any resources discovered by the mod will no longer be managed by Guardrails.

[!WARNING] Uninstalling a mod removes all associated resource discovery, policies, and controls. Resources previously managed by the mod will no longer appear in your workspace. Guardrails keeps a history and you can reinstall the mod later, but you would need to re-import affected resources to restore coverage.

Prerequisites

Step 1: Open the Mod Detail Page

Navigate to Workspace > Mods and click the mod you want to uninstall. This opens the mod's detail page, with Update and Uninstall buttons in the top-right corner.

Step 2: Start the Uninstall

Click Uninstall. A confirmation dialog appears, titled Uninstall mod {name} version {version}?, explaining that all items related to the mod will be removed.

Uninstall confirmation dialog with a warning and an empty field requiring the mod name to proceed

Step 3: Confirm the Uninstall

Type the full mod name (for example, @turbot/aws-cloudfront) in the confirmation field. This safeguard prevents accidental uninstalls. The red Uninstall button becomes active once the name matches exactly.

Uninstall confirmation dialog with the mod name typed and the Uninstall button enabled

Click Uninstall to remove the mod.

Step 4: Verify the Removal

After a few moments, the mod no longer appears in the Workspace > Mods list, and the mod count decreases. If the mod had dependent mods, they may show health warnings; check their status and uninstall them as well if no longer needed.

Troubleshooting

IssueSolution
Uninstall button stays disabledVerify the mod name matches exactly, including the @turbot/ prefix. The name is shown in the confirmation dialog.
Uninstall fails with a dependency errorAnother mod depends on this one. Uninstall the dependent mod first, or check the Peer Dependencies panel on the mod's detail page.
Further assistanceOpen a Support Ticket

Next Steps