# 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/kJIcmDU7SpMIrNiHYtLu/blobs/2uy8Zg5uveGmCgW9Z0mA/image.png" alt=""><figcaption></figcaption></figure>

You will see the state in JSON format

<figure><img src="https://content.gitbook.com/content/kJIcmDU7SpMIrNiHYtLu/blobs/2bdL7jZ9SvEILN9Q3X4c/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/kJIcmDU7SpMIrNiHYtLu/blobs/j6lg9HvnTjuNkINIwNfu/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/kJIcmDU7SpMIrNiHYtLu/blobs/dIuRVovJggemsejoJMxK/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/kJIcmDU7SpMIrNiHYtLu/blobs/YsaGbg1f2ZNttKvrT0RX/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/kJIcmDU7SpMIrNiHYtLu/blobs/gZKdlkD9xa1Cyz1GBppS/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/kJIcmDU7SpMIrNiHYtLu/blobs/A7UOxNtLrUZMNjUrs1nO/image.png" alt=""><figcaption></figcaption></figure>
