Login
Documentation Monitoring DNS Monitoring Terraform

DNS Monitoring

Setup guide, Terraform connection, configuration reference, and troubleshooting for the Route 53 DNS Monitoring module. Registry access and authentication are covered in this document (not as a separate category).

Overview

Follow the flow: Purchase → License → Connect Terraform → Add module → Apply. This page is scoped to DNS Monitoring only.

Getting started

Prerequisites

  • Terraform installed (recommended: 1.3+).
  • AWS credentials configured for the account that owns Route 53 / hosted zones.
  • Route 53 query logging enabled (for DNS visibility / analytics).

Need pricing or product details? Use Products.

Connect Terraform

Codreum uses a short-lived connect code to link your local Terraform environment to Codreum Registry. You fetch the code from the portal, then run one command locally.

Step 1 — Get a connect code

  • Go to Licenses (requires login).
  • Select an active license.
  • Click Connect Terraform and copy the command.

Step 2 — Run the command locally

# Run on the machine where you run Terraform
codreum connect --code CT-xxxxxxxx

After connecting, Terraform can download modules from registry.codreum.com. If the code expires, generate a new one from the portal.

Use the module

Add the module to your Terraform configuration:

terraform {
  required_version = ">= 1.3.0"
}

module "dns_monitoring" {
  source  = "registry.codreum.com/codreum/dnsciz/aws"
  version = "1.0.0"

  # ...your variables here...
}

Variables

Start with the minimum and expand. Keep your first run simple: region + hosted zone(s).

Recommended pattern

  • Begin with only required variables.
  • Apply once and verify resources are created successfully.
  • Enable optional features gradually.

Troubleshooting

Terraform cannot download the module

  • Run codreum connect --code ... again (codes expire).
  • Confirm Terraform runs on the same machine where you ran the connect command.
  • Confirm your license is active in Licenses.

Still stuck?

Open a case in My Cases or contact support.

Registry access & authentication

Codreum Registry is private. The portal issues a short-lived connect code, and the local workflow configures Terraform registry credentials without exposing long-lived secrets in the browser.

Support