Command: resource
The turbot resource set of commands is used to manage resources in a Turbot Guardrails workspace.
Usage
Usage: turbot resource <subcommand> [options]
Supported Sub-commands
| Command | Description |
|---|---|
turbot resource get <id> | Get resource details |
turbot resource list | List resources |
turbot resource delete <id> | Delete a resource |
turbot resource get <id>
Get details for a specific resource by its ID.
turbot resource list
List resources matching a filter. Returns resource ID, title, type, and hierarchy.
The supported options are:
--resource-type, -t: Filter by resource type URI.--parent, -p: Filter by parent resource ID (includes descendants).--filter, -f: Additional Turbot filter syntax for advanced filtering.--limit, -l: Maximum number of resources to return (1-1000). Default:100.--format: Output format (yamlorjson). Default:yaml.
turbot resource delete <id>
Delete a resource by its ID.
[!WARNING] This command permanently deletes the resource. Use with caution.
Authentication Options
All sub-commands support:
--profile: Credentials profile name. Default:default.--workspace: Workspace URL (overrides profile).--access-key: Access key (overrides profile).--secret-key: Secret key (overrides profile).