IaC Bazaar
HetznerStatic-verified

Hetzner Load-Balanced Web Tier

Managed LB with health checks, cert, and label-selected server targets.

terraformAlt & Specialty Clouds#hetzner

Compare Load Balancer across clouds →

hetzner-lb-web-tierterraform v1.7

Verification

Static-verified

Passed: validated and lint-clean (provider-schema-validated for AWS/Azure/GCP; Terraform-language lint elsewhere).

Conformance

  • Static validation (fmt · validate · tflint)
  • No applicable security policies for this provider
  • Plan tests (mocked: validation rules · outputs)

Provenance

  • SHA-256 checksum
  • Signature (pending)

Functional

  • Live test pending (no cloud run yet)

Last verified 2026-06-28 · how we verify

Documentation

hetzner-lb-web-tier

A Hetzner Cloud load-balanced web tier: a managed load balancer with health-checked services, a Let's Encrypt managed certificate, and label-selected server targets so backends auto-enroll as they scale.

Status: static-validated, live-test pending. Validated with tofu validate + tflint + checkov against the hetznercloud/hcloud provider. Not yet applied against a live Hetzner project, so it ships under live-test quarantine.

Design & secure defaults

  • HTTPS-first. The default service is HTTPS:443 with an automatic HTTP→HTTPS redirect; a plan-time precondition refuses an https service that has no certificate (certificate_domain_names, existing_certificate_ids, or per-service certificate_ids).
  • Delete protection on by default — set delete_protection = false for ephemeral environments so destroy works without a manual toggle.
  • Label-selected targets. target_label_selector = "role=web" enrolls every matching server automatically; target_server_ids adds explicit ones.
  • Private backends, optionally. Attach a network (network_id) and set use_private_ip = true to send traffic to targets over the private network; enable_public_interface = false makes the LB internal-only.
  • Exactly one of location / network_zone is enforced by precondition.

Provider

hetznercloud/hcloud >= 1.0, < 2.0. Requires Terraform/OpenTofu >= 1.6.

License

Commercial — LicenseRef-IaCBazaar-Commercial. See the IaC Bazaar terms.

Usage code & full reference unlock after purchase

The complete copy-paste usage, the full input/output reference, and operational notes ship with your licence — shown here and bundled in the download.

  • Usage
  • Key inputs
  • Outputs