Skip to content
Proud to collaborate with Microsoft for Startups

gcp.compute.forwarding_rule.create ​

Create a global forwarding rule that fronts a target HTTPS proxy on a public IP and port.

Create a global forwarding rule that publishes the target HTTPS proxy on an IP.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—Explicit GCP project override.
namestringYes—Forwarding rule name.
targetstringYes—Target HTTPS proxy self link.
port_rangestringNo—Port range; defaults to 443.
ip_addressstringNo—Reserved static IP address or self link.
ip_protocolstringNo—IP protocol; defaults to TCP.
load_balancing_schemestringNo—LB scheme; defaults to EXTERNAL_MANAGED.
network_tierstringNo—Network tier for the rule.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—Echoed connection UUID.
project_idstringNo—Resolved GCP project.
namestringNo—Forwarding rule name.
targetstringNo—Target HTTPS proxy self link.
port_rangestringNo—Port range.
ip_addressstringNo—IP address or self link.
ip_protocolstringNo—IP protocol.
load_balancing_schemestringNo—LB scheme.
network_tierstringNo—Network tier.
self_linkstringNo—Self link of the forwarding rule.
operation_namestringNo—Compute operation name when created.
createdbooleanNo—True when created this run.
forwarding_rulejsonNo—Sanitized provider forwarding rule or operation.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Engine failed layer if applicable.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—preflight—
creatingNoNo—complete—
preflightingNoNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingpreflightpreflighting—
preflightingexecutecreating—
creatingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "gcp.compute.forwarding_rule.create",
  "initial_data": {
    "connection_uuid": "value",
    "name": "value",
    "target": "value"
  }
}