Retrieve a Resource ID

In this guide, you will find the Turbot ID (Resource ID) for any managed resource in the Guardrails console.

Every resource in Guardrails has a unique numeric Resource ID (also called the Turbot ID) that you can use in GraphQL queries, CLI commands, Terraform configurations, log lookups, and troubleshooting. You will find it, along with ready-to-use API snippets, on the resource's Developers tab.

Prerequisites

Step 1: Locate the Resource

Click Search in the sidebar and enter the resource name or type. Results are grouped by kind (Accounts, Resources, Controls, and more), and you can narrow them with the Resource, Type, and Category filters at the top.

Guardrails Search page with results for a Goliath bucket, grouped into Accounts, Resources, and Controls

Click the resource in the Resources group to open it. You can also reach a resource by clicking a resource link from a control, policy value, or activity entry.

Step 2: Open the Developers Tab

On the resource page, click the Developers tab. The Identifiers section lists everything you need to reference the resource:

Developers tab for a GCP bucket showing the Identifiers section with Resource ID, Resource AKAs, and Resource Type URI, alongside prebuilt GraphQL and Terraform

FieldDescription
RESOURCE IDThe unique numeric Turbot ID for this resource. This is the Resource ID.
RESOURCE AKASAlso Known As, the cloud provider's identifier for this resource (for example, an ARN or GCP resource URI).
RESOURCE TYPE URIThe Guardrails type identifier (for example, tmod:@turbot/gcp-storage#/resource/types/bucket).

Click the copy icon next to any value to copy it to your clipboard.

[!TIP] The Developers tab also gives you prebuilt GraphQL queries and Terraform for this exact resource, ready to copy into your own tooling.

Using the Resource ID

The Resource ID can be used in:

The Resource ID is also visible in the URL when viewing a resource, for example https://your-workspace.cloud.turbot.com/resources/387711514326187.

Troubleshooting

IssueDescriptionGuide
Developers tab shows no dataYou may not have sufficient permissions, or the page may not have fully loaded.Ensure you have Turbot/Operator permissions and refresh the page.
Resource not found in searchThe resource may have been deleted or may be in a different account.Try searching by cloud provider ID (ARN, resource URI) or check the deleted resources history.
Further assistanceIf you cannot locate the resource or its ID.Open a Support Ticket