terraform

Create or update a Terraform state

Creates or updates a Terraform state for a specified project.

post/api/v4/projects/{id}/terraform/state/{name}

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project

namestring required

The name of a Terraform state

Request body

filestring binary required

The package file to be published (generated by Multipart middleware)

Response

Create or update a Terraform state

Changes

No recorded changes to this operation across all 5 revisions of this API.