This endpoint is used to create, update, search or delete variables information inside a Terrakube workspace.
To use this endpoint you should have "manageWorkspace" access at team level and a Terrakube workspace
Path | Type | Description |
---|---|---|
For a complete list of organization operation please visit the OpenAPI specification
data.type
string
Should be "variable"
data.attributes.key
string
Unique variable name
data.attributes.value
string
Key value
data.attributes.sensitive
boolean
To hide the value when the output is sensitive
data.attributes.hcl
boolean
Terraform HCL variable type
data.attributes.category
string
Variable type could be TERRAFORM or ENV (Environment Variable)
data.attributes.description
string
Free text
Deletes an instance of type vcs
workspace Identifier
vcs Identifier
Successful response
Creates an item of type variable and adds it to variable
workspace Identifier
Read Permissions : (service read secret)
Successful response
Read Permissions : (service read secret)
Modifies an instance of type vcs
workspace Identifier
vcs Identifier
Create Permissions : (team manage vcs) Delete Permissions : (team manage vcs)
Read Permissions : (service read vcs secret) Update Permissions : (team manage vcs)
Read Permissions : (team view vcs OR user is a service) Update Permissions : (team manage vcs)
Read Permissions : (service read vcs secret) Update Permissions : (team manage vcs)
Read Permissions : (team view vcs OR user is a service) Update Permissions : (team manage vcs)
Read Permissions : (team view vcs OR user is a service) Update Permissions : (team manage vcs)
Read Permissions : (team view vcs OR user is a service) Update Permissions : (team manage vcs)
Read Permissions : (team view vcs OR user is a service) Update Permissions : (team manage vcs)
Successful response
Returns an instance of type variable
workspace Identifier
variable Identifier
Selects the set of variable fields that should be returned in the result.
Selects the set of relationships that should be expanded as a compound document in the result.
Successful response
Read Permissions : (service read secret)
Included resources