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

Functional

  • Live test pending (no cloud run yet)

Last verified 2026-06-28 · how we verify

Verify this download

cosign · sha-256

Don't take our word for it. Every release is signed with cosign - check the bytes against our pinned public key before you trust them.

# 1. Our pinned public key - fetch once, trust out-of-band
curl -O https://www.iac-bazaar.com/cosign.pub

# 2. This module's Sigstore bundle
curl -o hetzner-lb-web-tier-1.0.0.sigstore.json \
  https://www.iac-bazaar.com/api/artifacts/hetzner-lb-web-tier/signature

# 3. Verify the tarball you downloaded
cosign verify-blob \
  --key cosign.pub \
  --bundle hetzner-lb-web-tier-1.0.0.sigstore.json \
  hetzner-lb-web-tier-1.0.0.tar.gz
# → Verified OK

# 4. (optional) confirm the checksum too
echo "df727e4b8cb24f142624be4dfdc0fc91ac981a4e2fd937afcd6add64870d8cd0  hetzner-lb-web-tier-1.0.0.tar.gz" | sha256sum -c

Use it from the registry

terraform · opentofu
module "lb_web_tier" {
  source  = "www.iac-bazaar.com/iac-bazaar/hetzner-lb-web-tier/hetzner"
  version = "1.0.0"
}

Paid module — needs a purchase (or a subscription that covers it) plus a registry token from /account/tokens. Full setup: registry docs.

Inputs & outputs

Create a free account to read this module's contract

The declared contract — every input name, type, default and description, plus every output — is shown to signed-in accounts, not to anonymous visitors.

A free account sees the contract of every Free module. This one is Professional, so its contract unlocks when you buy it.

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

Related modules