Tf Standard Backend
HTTP standard backend for Terraform
Org is the organisation identifier.
0zProject is the project identifier.
qhWorkspace identifier
workspace123Account is the internal customer account ID.
7iOK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
GET /api/orgs/{org}/projects/{project}/workspaces/{workspace}/terraform-backend?accountIdentifier=7i HTTP/1.1
Host: localhost:80
Accept: */*
binaryOrg is the organisation identifier.
6Project is the project identifier.
qmWorkspace identifier
workspace123Account is the internal customer account ID.
oinIf the backend is locked, this value must match the persisted terraform lock id.
1ac4b858-bf0b-8539-9d80-8c521f6423cfSize in bytes of the state.
4372884545713602000OK response.
No content
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
POST /api/orgs/{org}/projects/{project}/workspaces/{workspace}/terraform-backend?accountIdentifier=oin HTTP/1.1
Host: localhost:80
Accept: */*
No content
Org is the organisation identifier.
7Project is the project identifier.
yWorkspace identifier
workspace123Account is the internal customer account ID.
g1Time that the lock was taken.
Inventore quaerat laudantium et repudiandae occaecati.Unique ID for the lock. Generated by the terraform cli.
1ac4b858-bf0b-8539-9d80-8c521f6423cfExtra information to store with the lock.
""Example: production workspace lockTerraform operation.
OperationTypePlanPath to the state file when applicable.
""Example: /api/orgs/org1/projects/proj1/workspaces/production/data/fcdf0196-f5b3-49ab-87e3-ff102dfaf58cTerraform version.
1.0.0The machine user who is performing the operation.
""Example: user1OK response.
Terraform lock information resource.
Account is the internal customer account ID.
kgTime that the lock was taken.
4031183379788517000Unique ID for the lock. Generated by the terraform cli.
1ac4b858-bf0b-8539-9d80-8c521f6423cfExtra information to store with the lock.
""Example: production workspace lockDisplay name of who locked the workspace
Qui inventore.Principal ID who created the manual lock
Nihil quasi enim maxime nobis itaque.Type of principal: 'user' or 'service_account'
Sapiente sed quibusdam.Whether the lock is manual (user-initiated). true = manual lock, false = automatic lock (Terraform CLI)
falseExample: trueTerraform operation.
OperationTypePlanOrg is the organisation identifier.
2Path to the state file when applicable.
""Example: /api/orgs/org1/projects/proj1/workspaces/production/data/fcdf0196-f5b3-49ab-87e3-ff102dfaf58cProject is the project identifier.
r71Reason for manual lock (optional, max 1024 chars)
Ipsum et nam ducimus officia autem quidem.Terraform version.
1.0.0The machine user who is performing the operation.
""Example: user1Workspace identifier
workspace123BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
POST /api/orgs/{org}/projects/{project}/workspaces/{workspace}/terraform-backend/lock?accountIdentifier=g1 HTTP/1.1
Host: localhost:80
Content-Type: application/json
Accept: */*
Content-Length: 278
{
"created": "Autem esse et aut.",
"id": "1ac4b858-bf0b-8539-9d80-8c521f6423cf",
"info": "production workspace lock",
"operation": "OperationTypePlan",
"path": "/api/orgs/org1/projects/proj1/workspaces/production/data/fcdf0196-f5b3-49ab-87e3-ff102dfaf58c",
"version": "1.0.0",
"who": "user1"
}{
"account": "x",
"created": 8720361955015101000,
"id": "1ac4b858-bf0b-8539-9d80-8c521f6423cf",
"info": "production workspace lock",
"locked_by_display_name": "Cupiditate ea labore est.",
"locked_by_principal_id": "Voluptate sapiente aperiam aut.",
"locked_by_principal_type": "Nesciunt non repudiandae dolores occaecati repellat eum.",
"manual": true,
"operation": "OperationTypePlan",
"org": "v",
"path": "/api/orgs/org1/projects/proj1/workspaces/production/data/fcdf0196-f5b3-49ab-87e3-ff102dfaf58c",
"project": "1vm",
"reason": "Vel adipisci cum omnis rem fugit.",
"version": "1.0.0",
"who": "user1",
"workspace": "workspace123"
}Org is the organisation identifier.
mProject is the project identifier.
npWorkspace identifier
workspace123Account is the internal customer account ID.
n6dTime that the lock was taken.
Itaque perspiciatis eum enim dolores quia voluptatum.Unique ID for the lock. Generated by the terraform cli.
1ac4b858-bf0b-8539-9d80-8c521f6423cfExtra information to store with the lock.
""Example: production workspace lockTerraform operation.
OperationTypePlanPath to the state file when applicable.
""Example: /api/orgs/org1/projects/proj1/workspaces/production/data/fcdf0196-f5b3-49ab-87e3-ff102dfaf58cTerraform version.
1.0.0The machine user who is performing the operation.
""Example: user1OK response.
No content
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
DELETE /api/orgs/{org}/projects/{project}/workspaces/{workspace}/terraform-backend/lock?accountIdentifier=n6d HTTP/1.1
Host: localhost:80
Content-Type: application/json
Accept: */*
Content-Length: 287
{
"created": "Neque magni alias ea omnis.",
"id": "1ac4b858-bf0b-8539-9d80-8c521f6423cf",
"info": "production workspace lock",
"operation": "OperationTypePlan",
"path": "/api/orgs/org1/projects/proj1/workspaces/production/data/fcdf0196-f5b3-49ab-87e3-ff102dfaf58c",
"version": "1.0.0",
"who": "user1"
}No content
Last updated
Was this helpful?