# Terraform State

Each Terrakube workspace has its own separate state data, used for jobs within that workspace. In Terrakube you can see the Terraform state in the standard [JSON format](#json-state) provided by the Terraform cli or you can see a [Visual State](#visual-state), this is a diagram created by Terrakube to represent the resources inside the JSON state.

### JSON State

Go to the workspace and click the **States** tab and then click in the specific state you want to see.

<figure><img src="https://content.gitbook.com/content/z07DOLykiAoqb1CSQVQz/blobs/5y72zLioAu7QtWIjaiTm/image.png" alt=""><figcaption></figcaption></figure>

You will see the state in JSON format

<figure><img src="https://content.gitbook.com/content/z07DOLykiAoqb1CSQVQz/blobs/P62qqUAWtR9gTFN75IvC/image.png" alt=""><figcaption></figcaption></figure>

You can click the **Download** button to get a copy of the JSON state file&#x20;

<figure><img src="https://content.gitbook.com/content/z07DOLykiAoqb1CSQVQz/blobs/9yFb6XgEBMXluoHf0qYv/image.png" alt=""><figcaption></figcaption></figure>

### Visual State

Inside the **states** page, click the **diagram** tab and you will see the visual state for your terraform state.

<figure><img src="https://content.gitbook.com/content/z07DOLykiAoqb1CSQVQz/blobs/En5Cv2FW116plaexLkFq/image.png" alt=""><figcaption></figcaption></figure>

The visual state will also show some information if you click each element like the following:

<figure><img src="https://content.gitbook.com/content/z07DOLykiAoqb1CSQVQz/blobs/YqPxfSSxZOSwAYzuMT5g/image.png" alt=""><figcaption></figcaption></figure>

### Resources

All the resources can be shown in the overview page inside the workspace:

<figure><img src="https://content.gitbook.com/content/z07DOLykiAoqb1CSQVQz/blobs/MIrGmvX3up339Znb3rVa/image.png" alt=""><figcaption></figcaption></figure>

If you click the resources you can check the information about each resouce like the folloing

<figure><img src="https://content.gitbook.com/content/z07DOLykiAoqb1CSQVQz/blobs/qwXzg19N2dLRoUg9zvoi/image.png" alt=""><figcaption></figcaption></figure>
