terraform

Lock a Terraform state

Locks a Terraform state for a specified project.

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

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

IDstring required

Terraform state lock ID

Operationstring required

Terraform operation

Infostring required

Terraform info

Whostring required

Terraform state lock owner

Versionstring required

Terraform version

Createdstring required

Terraform state lock timestamp

Pathstring required

Terraform path

Response

Lock a Terraform state

Changes

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