> For the complete documentation index, see [llms.txt](https://docs.terrakube.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.terrakube.io/2.33.0/user-guide/workspaces/actions/built-in-actions/terrakube.resource-details.md).

# Resource Details

### Description

The Resource Details action is designed to show detailed information about a specific resource within the workspace. By using the context of the current state, this action provides a detailed view about the properties and dependencies in a tab within the resource drawer.

### Display Criteria

By default this Action is enabled and will appear for all the resources. If you want to display this action only for certain resources, please check [filtering actions](/2.33.0/user-guide/workspaces/actions/developing-actions/display-criteria.md).

### Usage

* Navigate to the `Workspace Overview` or the `Visual State` and click a resource name.

<figure><img src="https://3934308512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCtajpHVKO4bym06TrmbV%2Fuploads%2Fgit-blob-8fba400f14fecfe97bd7ba14a037982dfc77b6b7%2Fimage%20(51).png?alt=media" alt=""><figcaption><p>Workspace Overview</p></figcaption></figure>

<figure><img src="https://3934308512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCtajpHVKO4bym06TrmbV%2Fuploads%2Fgit-blob-150a3d1d9a0b4bf60474c9b4c4c4c3fbf664746c%2Fimage%20(52).png?alt=media" alt=""><figcaption><p>Visual State</p></figcaption></figure>

* In the Resource Drawer, you will see a new tab `Details` with the resource attributes and dependencies.

<figure><img src="https://3934308512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCtajpHVKO4bym06TrmbV%2Fuploads%2Fgit-blob-193f069907c8b0256c3bfc93decf2dd476397f5b%2Fimage%20(55).png?alt=media" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.terrakube.io/2.33.0/user-guide/workspaces/actions/built-in-actions/terrakube.resource-details.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
