get_current_state_version
Retrieve the current state version for a Terraform workspace to access input state details and download URLs, essential for managing infrastructure operations with Terraform Cloud.
Instructions
Get the current state version for a workspace.
Retrieves the current state version for a workspace, which is the input state when running terraform operations.
API endpoint: GET /workspaces/:workspace_id/current-state-version
Args: workspace_id: The ID of the workspace (format: "ws-xxxxxxxx")
Returns: The current state version including details and download URLs
See: docs/tools/state_versions.md for reference documentation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
workspace_id | Yes |