state-versions

Create a State Version

Changed on

Create a state version and set it as the current state version for the given workspace.

post/state-versions

Request

  • Base URL
    https://example.scalr.io/api/iacp/v3
  • URL
    https://example.scalr.io/api/iacp/v3/state-versions
  • Auth
    HTTP bearer

Request body

includedobject[]
metaobject

Response

Successfully created a state version

includedobject[]
metaobject

Changes

    • breaking

      the response property // became nullable for the status

    • info

      the request property // became nullable

    • info

      request property // deprecated

    • info

      request property // deprecated

    • info

      request property // deprecated

    • 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/modules deprecated

    • info

      response property data/attributes/providers deprecated

    • info

      response property data/attributes/resources deprecated