Skip to content
Proud to collaborate with Microsoft for Startups

gcp.compute.instance_group_manager.resize ​

Set the target size of a GCE managed instance group (native runner scale operation).

Overview ​

PropertyValue
Workflow typeAtomic
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—GCP project override; defaults to the connection project.
instance_group_managerstringYes—Name of the managed instance group to resize.
regionstringYes—GCP zone or region hosting the managed instance group; kept as region to match existing LTIP compute primitives.
sizeintegerYes—Target number of instances for the managed instance group.
request_idstringNo—Optional provider request id for retry safety.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—GCP CloudConnection UUID echoed from input.
project_idstringNo—Effective GCP project.
authenticated_project_idstringNo—Project resolved by credential validation.
auth_validationbooleanNo—True when credential validation succeeded.
default_service_accountstringNo—Default compute service account when resolved.
instance_group_managerstringNo—Name of the managed instance group echoed from input.
regionstringNo—GCP zone or region hosting the managed instance group.
sizeintegerNo—Requested target number of instances echoed from input.
request_idstringNo—Optional provider request id echoed from input.
target_sizeintegerNo—Target size the managed instance group was set to.
provider_resource_idstringNo—projects/{project}/zones
operation_namestringNo—Compute Engine long-running operation name.
operation_statusstringNo—Initial provider operation status.
operationjsonNo—Sanitized provider operation response.
resize_requestjsonNo—Sanitized resize request sent to Compute Engine.
failure_reasonstringNo—Human-readable failure reason.
failure_typestringNo—Engine exception class.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Engine failed layer.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.
failed_atstringNo—ISO failure timestamp.

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_group_manager.resize",
  "initial_data": {
    "connection_uuid": "value",
    "instance_group_manager": "value",
    "region": "value",
    "size": 123
  }
}