Tf Standard Backend
HTTP standard backend for Terraform
Org is the organisation identifier.
y8Project is the project identifier.
uoWorkspace identifier
workspace123Account is the internal customer account ID.
dOK 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=d HTTP/1.1
Host: localhost:80
Accept: */*
binaryOrg is the organisation identifier.
wdzProject is the project identifier.
loaWorkspace identifier
workspace123Account is the internal customer account ID.
g0If the backend is locked, this value must match the persisted terraform lock id.
1ac4b858-bf0b-8539-9d80-8c521f6423cfSize in bytes of the state.
1738329114368899000OK 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=g0 HTTP/1.1
Host: localhost:80
Accept: */*
No content
Org is the organisation identifier.
azProject is the project identifier.
6zWorkspace identifier
workspace123Account is the internal customer account ID.
cTime that the lock was taken.
Atque nam possimus enim quo sit dolores.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.
7t1Time that the lock was taken.
6484153978943259000Unique 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
Placeat ad consectetur eius facere quam.Principal ID who created the manual lock
Sunt consequatur.Type of principal: 'user' or 'service_account'
Sint qui praesentium.Whether the lock is manual (user-initiated). true = manual lock, false = automatic lock (Terraform CLI)
falseExample: trueTerraform operation.
OperationTypePlanOrg is the organisation identifier.
kjPath to the state file when applicable.
""Example: /api/orgs/org1/projects/proj1/workspaces/production/data/fcdf0196-f5b3-49ab-87e3-ff102dfaf58cProject is the project identifier.
yvcReason for manual lock (optional, max 1024 chars)
Voluptatem ut voluptas consequuntur amet.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=c HTTP/1.1
Host: localhost:80
Content-Type: application/json
Accept: */*
Content-Length: 275
{
"created": "Nihil modi 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": "z",
"created": 5836349330442804000,
"id": "1ac4b858-bf0b-8539-9d80-8c521f6423cf",
"info": "production workspace lock",
"locked_by_display_name": "Rerum molestias.",
"locked_by_principal_id": "Et illo reiciendis inventore atque.",
"locked_by_principal_type": "Molestiae ut totam sit corporis animi.",
"manual": true,
"operation": "OperationTypePlan",
"org": "k",
"path": "/api/orgs/org1/projects/proj1/workspaces/production/data/fcdf0196-f5b3-49ab-87e3-ff102dfaf58c",
"project": "nr3",
"reason": "Quibusdam quisquam.",
"version": "1.0.0",
"who": "user1",
"workspace": "workspace123"
}Org is the organisation identifier.
jProject is the project identifier.
xn6Workspace identifier
workspace123Account is the internal customer account ID.
rTime that the lock was taken.
Doloribus aut.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=r HTTP/1.1
Host: localhost:80
Content-Type: application/json
Accept: */*
Content-Length: 280
{
"created": "Labore consequuntur.",
"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?