state-versions
Get Workspace's Current State Version
Changed onFetch the current state version for the given workspace.
This state version will be the input state when running terraform operations.
get/workspaces/{workspace}/current-state-version
Request
- Base URLhttps://example.scalr.io/api/iacp/v3
- URLhttps://example.scalr.io/api/iacp/v3/workspaces/{workspace}/current-state-version
- AuthHTTP bearer
Path parameters
workspacestring required
The ID of the workspace.
Response
Successfully returned current state version for the given workspace.
Changes
- breaking
the response property
//became nullable for the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
response property
data/attributes/modulesdeprecated - info
response property
data/attributes/providersdeprecated - info
response property
data/attributes/resourcesdeprecated
- breaking