Skip to content
Proud to collaborate with Microsoft for Startups

net.lb.apply ​

Provider-neutral load balancer apply; fronts a Cloud Run service or instance/ip targets and routes paths across AWS ELBv2 or GCP HTTPS LB.

Provider-neutral load balancer apply DAG fanning out to AWS ELBv2 or GCP HTTPS LB.

Overview ​

PropertyValue
Workflow typeDag
LibraryApp-deployments
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
workflow_run_idstringNo—Engine-stamped DAG step run ID.
organization_uuiduuidYes—Organization UUID (context-sourced).
connection_uuiduuidYes—Cloud connection (aws or gcp).
backendstringYes—aws
namestringYes—Logical LB name; sub-resources derive suffixed names.
scopestringNo—regional
schemestringNo—internet-facing
listenerslistYes—[{port,protocol,tls,routes:[{path_prefix,target}]}]
targetslistYes—[{name,kind:cloud_run
regionstringNo—Region for regional resources / serverless NEG.
managed_cert_domainslistNo—(gcp) Domains to provision a Google-managed compute sslCertificate for. When set, a create_ssl_certificate step runs and the target HTTPS proxy binds the created cert self-link instead of listeners[0].tls. Cert goes ACTIVE only after DNS points at the LB IP (~15-60min).
dry_runbooleanNo—Plan only; do not mutate provider state.

Output Schema ​

FieldTypeRequiredDefaultDescription
workflow_run_idstringNo—Engine-stamped DAG step run ID.
load_balancer_refstringNo—ARN (aws) or self-link (gcp).
endpointstringNo—DNS name (aws) or serving IP (gcp).
statusstringNo—Apply status.
resource_refsjsonNo—Map of created sub-resource self-links/ARNs.
create_negjsonNo—Result of the create_neg DAG step.
create_backend_bucketjsonNo—Result of the create_backend_bucket DAG step (static origin).
create_ssl_certificatejsonNo—Result of the create_ssl_certificate DAG step (Google-managed compute sslCertificate).
create_backend_servicejsonNo—Result of the create_backend_service DAG step.
upsert_url_mapjsonNo—Result of the upsert_url_map DAG step.
create_https_proxyjsonNo—Result of the create_https_proxy DAG step.
create_forwarding_rulejsonNo—Result of the create_forwarding_rule DAG step.
create_lbjsonNo—Result of the create_lb DAG step.
create_tgjsonNo—Result of the create_tg DAG step.
create_listenerjsonNo—Result of the create_listener DAG step.
register_targetsjsonNo—Result of the register_targets DAG step.
wait_healthyjsonNo—Result of the wait_healthy DAG step.
failure_reasonstringNo—Engine failure reason.
failure_typestringNo——
failed_actionstringNo——
failed_stepjsonNo—Failed DAG step envelope.
failed_layerjsonNo—Failed DAG layer envelope.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.

DAG Layers ​

#LayerStepsCompensation
1gcp_backendsgcp.compute.serverless_neg.create, gcp.compute.backend_bucket.create, gcp.compute.ssl_certificate.ensure—
2gcp_backend_servicegcp.compute.backend_service.create—
3gcp_url_mapgcp.compute.url_map.upsert—
4gcp_proxygcp.compute.target_https_proxy.create—
5gcp_forwardinggcp.compute.forwarding_rule.create—
6aws_stackaws.elbv2.create_load_balancer, aws.elbv2.create_target_group, aws.elbv2.create_listener, aws.elbv2.register_targets, aws.elbv2.wait_targets_healthy—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
gcp.compute.serverless_neg.createcreate_neg
gcp.compute.backend_bucket.createcreate_backend_bucket
gcp.compute.ssl_certificate.ensurecreate_ssl_certificate
gcp.compute.backend_service.createcreate_backend_service
gcp.compute.url_map.upsertupsert_url_map
gcp.compute.target_https_proxy.createcreate_https_proxy
gcp.compute.forwarding_rule.createcreate_forwarding_rule
aws.elbv2.create_load_balancercreate_lb
aws.elbv2.create_target_groupcreate_tg
aws.elbv2.create_listenercreate_listener
aws.elbv2.register_targetsregister_targets
aws.elbv2.wait_targets_healthywait_healthy

API Usage ​

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

{
  "workflow_type": "net.lb.apply",
  "initial_data": {
    "organization_uuid": "value",
    "connection_uuid": "value",
    "backend": "value",
    "name": "value"
  }
}