IaC Bazaar
AWSLive-tested

Route 53 Hosted Zone & Records

A Route 53 hosted zone (public or private via vpc_ids) plus a map-driven set of records, with name normalisation and the alias-vs-rdata distinction resolved and inputs validated.

terraformAWS#aws

Part of: AWS Production Landing Zone

aws-route53terraform v1.7

Verification

Live-tested

Really 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 pending (Checkov)
  • Plan test superseded by live test

Provenance

Functional

  • Live-tested - applied, verified, destroyed

Last verified 2026-06-30 · 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 aws-route53-1.0.1.sigstore.json \
  https://www.iac-bazaar.com/api/artifacts/aws-route53/signature

# 3. Verify the tarball you downloaded
cosign verify-blob \
  --key cosign.pub \
  --bundle aws-route53-1.0.1.sigstore.json \
  aws-route53-1.0.1.tar.gz
# → Verified OK

# 4. (optional) confirm the checksum too
echo "d3042f7143df54f65c1714f530e49e9850fd1956cbbed8bf1f734b971ecbf0cb  aws-route53-1.0.1.tar.gz" | sha256sum -c

Use it from the registry

terraform · opentofu
module "route53" {
  source  = "www.iac-bazaar.com/iac-bazaar/aws-route53/aws"
  version = "1.0.1"
}

Free module — Terraform/OpenTofu downloads it with no token or setup. 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.

This module is in the Free band, and a free account sees the contract of every Free module — no subscription needed.

Documentation

aws-route53

Route 53 hosted zone (public by default) plus a clean, map-driven set of records. Works with Terraform and OpenTofu (>= 1.6), AWS provider >= 6.0, < 7.0. The fiddly bits are handled for you: record names are normalised to the zone (use a relative label, @ for the apex, or a full FQDN), and the alias-vs-rdata distinction is resolved so ttl/records are only sent for standard records and the alias block only for alias targets.

Secure / sensible defaults:

  • Public zone by default; supply vpc_ids to make it a private zone resolvable only inside those VPCs (DNS is inherently public, so there is no "encryption" knob — the meaningful control is public vs. private).
  • force_destroy = false by default so you never silently delete records that were created outside Terraform; the live-test fixture flips it to true for guaranteed teardown.
  • Standalone aws_route53_record resources via for_each (stable addressing, no count churn when the record map changes).
  • Inputs are validated: record type is checked against the allowed set, and each record must set exactly one of records (rdata) or alias.

Requirements

  • Terraform or OpenTofu >= 1.6
  • hashicorp/aws >= 6.0, < 7.0

Security notes

  • A public hosted zone is world-readable by design (anyone can query it). Use a private zone (vpc_ids) for internal-only names.
  • Keep force_destroy = false in production to avoid deleting records you did not provision through this module.
  • DNSSEC and query logging are out of scope for this module; enable them separately if your threat model requires signed responses or audit trails.

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