Terrakube
Latest
Search
K
Comment on page

Template

This endpoint is used to create, update, search or delete teamplates inside an organization.

Entity fields:

Path
Type
Description
data.type
string
Should be "template"
data.attributes.tcl
string
Terraform Configuration Language job template
data.attribute.name
string
Template name
data.attribute.description
string
Template description
data.attribute.version
string
Template version
To better understand Terrakube Configuration Language job templates please refer to the following GitHub repository.

Example:

{
"data": {
"type": "template",
"attributes": {
"name": "Some name",
"description": "Some description",
"version": "1.0.0",
"tcl": "{{templateSample}}"
}
}
}

Supported Operations

get
/organization/{organizationId}/template/{templateId}
post
/organization/{organizationId}/template
delete
/organization/{organizationId}/template/{templateId}
patch
/organization/{organizationId}/template/{templateId}
For a complete list of organization operation please visit the OpenAPI specification
Last modified 1yr ago