Skip to content
Proud to collaborate with Microsoft for Startups

gcp.compute.instance_template.delete ​

Delete a GCE Instance Template

Deletes a GCE Instance Template. Swallows RESOURCE_NOT_FOUND.

Inputs:

  • connection_uuid: Cloud connection UUID (required)
  • name: Template name (required)
  • project_id: Explicit project (optional)

Outputs:

  • name
  • existed: bool

Overview ​

PropertyValue
Workflow typeAtomic
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes——
namestringYes——
project_idstringNo——
workflow_run_idstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo——
namestringNo——
project_idstringNo——
existedbooleanNo——
workflow_run_idstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "gcp.compute.instance_template.delete",
  "initial_data": {
    "connection_uuid": "value",
    "name": "value"
  }
}