Get a Terraform state
One step with GitLab. We can help you get access.
Look something up
Get a Terraform state
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Terraform API lets you get a Terraform state in a single step (GET /api/v4/projects/{id}/terraform/state/{name}). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I read the current Terraform state for a workspace?
- Can I look up a Terraform state by name in a project?
Say it to your AI assistant
- Get Terraform state {name} in project {id}.
- Show the current state of {name} in {id}.
For your developer
GET /api/v4/projects/{id}/terraform/state/{name} in GitLab REST Terraform API. Full spec on APIs.io.