configure_basic_web_lb
Set up a basic web load balancer with HTTP/HTTPS rules, SSL configuration, and backend instance attachments for traffic distribution.
Instructions
Configure a basic web load balancer with standard HTTP/HTTPS rules.
Args: region: Region code (e.g., 'ewr', 'lax') label: Label for the load balancer backend_instances: List of instance IDs to attach enable_ssl: Enable SSL/Auto SSL ssl_redirect: Redirect HTTP to HTTPS domain_zone: Domain zone for Auto SSL domain_sub: Subdomain for Auto SSL
Returns: Created and configured load balancer information
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| backend_instances | Yes | ||
| domain_sub | No | ||
| domain_zone | No | ||
| enable_ssl | No | ||
| label | Yes | ||
| region | Yes | ||
| ssl_redirect | No | 
Input Schema (JSON Schema)
{
  "properties": {
    "backend_instances": {
      "items": {
        "type": "string"
      },
      "title": "Backend Instances",
      "type": "array"
    },
    "domain_sub": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Domain Sub"
    },
    "domain_zone": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Domain Zone"
    },
    "enable_ssl": {
      "default": true,
      "title": "Enable Ssl",
      "type": "boolean"
    },
    "label": {
      "title": "Label",
      "type": "string"
    },
    "region": {
      "title": "Region",
      "type": "string"
    },
    "ssl_redirect": {
      "default": true,
      "title": "Ssl Redirect",
      "type": "boolean"
    }
  },
  "required": [
    "region",
    "label",
    "backend_instances"
  ],
  "type": "object"
}