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 ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | Base-gcp |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | Yes | — | GCP CloudConnection UUID. |
project_id | string | No | — | Explicit GCP project override. |
name | string | Yes | — | Forwarding rule name. |
target | string | Yes | — | Target HTTPS proxy self link. |
port_range | string | No | — | Port range; defaults to 443. |
ip_address | string | No | — | Reserved static IP address or self link. |
ip_protocol | string | No | — | IP protocol; defaults to TCP. |
load_balancing_scheme | string | No | — | LB scheme; defaults to EXTERNAL_MANAGED. |
network_tier | string | No | — | Network tier for the rule. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | Echoed connection UUID. |
project_id | string | No | — | Resolved GCP project. |
name | string | No | — | Forwarding rule name. |
target | string | No | — | Target HTTPS proxy self link. |
port_range | string | No | — | Port range. |
ip_address | string | No | — | IP address or self link. |
ip_protocol | string | No | — | IP protocol. |
load_balancing_scheme | string | No | — | LB scheme. |
network_tier | string | No | — | Network tier. |
self_link | string | No | — | Self link of the forwarding rule. |
operation_name | string | No | — | Compute operation name when created. |
created | boolean | No | — | True when created this run. |
forwarding_rule | json | No | — | Sanitized provider forwarding rule or operation. |
failure_reason | string | No | — | Human-readable failure reason. |
failed_step | string | No | — | Failed logical step. |
failed_layer | json | No | — | Engine failed layer if applicable. |
failed_at_state | string | No | — | State where failure occurred. |
error | string | No | — | Error message. |
error_type | string | No | — | Error class. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | preflight | — |
creating | No | No | — | complete | — |
preflighting | No | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | preflight | preflighting | — |
preflighting | execute | creating | — |
creating | complete | completed | — |
* (any state) | fail | failed | — |
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"
}
}