Terraform Cloud VCS see state locally

Hi,

Sorry for the newbie question. I’m using Terraform Cloud and having multiple workspaces, each GIT triggered (VCS).
I was wondering if there was a way to query the state file from those from my local machine instead of the TF Cloud Web Interface.
Same for marking a resource stale & co.
Can I have both worlds ?:slight_smile:

Thank you.

You sure can!

Integrating Terraform CLI with Terraform Cloud, you can use run all your typical state commands with VCS-enabled workspaces, like this:

You can leave your cloud {} integration block in any file in the root module and checked in to version control; it will be ignored by TFC when a run executes via VCS.

Thank you. Worked !!
It was simpler than I thought.