Verification
Live-testedReally deployed to a cloud sandbox, verified against its outputs and assertions, then destroyed - with the teardown confirmed.
Conformance
- Static validation (fmt · validate · tflint)
- Security scan clean (Checkov)
- Plan test superseded by live test
Provenance
- SHA-256 checksum
- Cosign signature
Functional
- Live-tested - applied, verified, destroyed
Last verified 2026-06-30 · how we verify
Verify this download
cosign · sha-256Don'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 aws-nlb-1.0.0.sigstore.json \
https://www.iac-bazaar.com/api/artifacts/aws-nlb/signature
# 3. Verify the tarball you downloaded
cosign verify-blob \
--key cosign.pub \
--bundle aws-nlb-1.0.0.sigstore.json \
aws-nlb-1.0.0.tar.gz
# → Verified OK
# 4. (optional) confirm the checksum too
echo "5689403cf092af4585d9bc0f2aa5a7c46d69c450f6e86e1a61e3434163e42d50 aws-nlb-1.0.0.tar.gz" | sha256sum -cUse it from the registry
terraform · opentofumodule "nlb" {
source = "www.iac-bazaar.com/iac-bazaar/aws-nlb/aws"
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
aws-nlb — Network Load Balancer
Layer-4 Network Load Balancer with TCP/UDP/TLS listeners and target groups —
drop-in for ultra-low-latency, high-throughput, or static-IP workloads
(databases, game servers, MQTT/gRPC backends, anything that needs the client's
real source IP). Define target groups and listeners as simple maps; the module
wires each listener's default forward action to its target group. Hand it an ACM
certificate on a TLS listener and the NLB terminates TLS with a modern TLS 1.3
(1.2-floor) policy.
Self-contained networking: omit subnet_ids and the module discovers every
subnet in the account's default VPC (and derives the VPC for the target
groups), so a throwaway NLB applies with nothing but a name. Pin explicit
subnets for real deployments.
Works with Terraform and OpenTofu (>= 1.6), AWS provider >= 6.0, < 7.0.
Security notes
- Encryption / TLS:
TLSlisteners useELBSecurityPolicy-TLS13-1-2-2021-06(TLS 1.3 with a TLS 1.2 floor) by default; override per-listener withssl_policyor globally withdefault_ssl_policy. TCP listeners pass bytes through unterminated — terminate TLS at the target for end-to-end encryption. - Deletion protection defaults on;
terraform destroyrequires flippingenable_deletion_protection = falseand applying first. - Security groups: NLB SGs can only be attached at creation and never
removed afterwards. With
security_group_ids = []the NLB has no SG and the targets' own security groups govern access (the classic NLB model). - Client IP: NLBs preserve the client source IP for
instance/iptargets by default; setpreserve_client_ip = falseper target group to disable, orproxy_protocol_v2 = trueto forward connection metadata. - Cross-zone is off by default (the AWS default for NLB) to avoid inter-AZ data-transfer charges; enable it for even distribution across AZs.
Requirements
- Terraform or OpenTofu
>= 1.6 hashicorp/aws>= 6.0, < 7.0
License
Commercial — IaC Bazaar EULA. © IaC Bazaar. Original work (not derived from a third-party module).
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
- Inputs
- Outputs
- Cost