# 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://2194998553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR6VsmuTZWhfdwP7uD6e0%2Fuploads%2Fgit-blob-326e3b8a824d4870c1ebd075059a3c3badd77df8%2Fimage%20(255).png?alt=media" alt=""><figcaption></figcaption></figure>

You will see the state in JSON format

<figure><img src="https://2194998553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR6VsmuTZWhfdwP7uD6e0%2Fuploads%2Fgit-blob-8c209852950a1d7e2c05622c98c2ccf9b89ccc5d%2Fimage%20(284).png?alt=media" alt=""><figcaption></figcaption></figure>

You can click the **Download** button to get a copy of the JSON state file

<figure><img src="https://2194998553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR6VsmuTZWhfdwP7uD6e0%2Fuploads%2Fgit-blob-e3dbae4221e0989b9992037dcfb918019ce89fc4%2Fimage%20(198).png?alt=media" 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://2194998553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR6VsmuTZWhfdwP7uD6e0%2Fuploads%2Fgit-blob-f70473a86f9f0f44320e722c66e1557fb4ae2407%2Fimage%20(270).png?alt=media" alt=""><figcaption></figcaption></figure>
