Panfactum LogoPanfactum
Infrastructure ModulesDirect ModulesAWSaws_dns_records
aws_dns_records
Stable
Direct
Source Code Link

AWS DNS Records

This module is used to deploy the following DNS record types to the indicated hosted zones:

Providers

The following providers are needed by this module:

Required Inputs

The following input variables are required:

zones

Description: Zone configurations. Keys are the domain names.

Type:

map(object({
    mx_records = optional(list(object({
      subdomain = string
      records   = list(string)
      ttl       = optional(number, 86400)
    })), [])
    txt_records = optional(list(object({
      subdomain = string
      records   = list(string)
      ttl       = optional(number, 300)
    })), [])
    cname_records = optional(list(object({
      subdomain = string
      record    = string
      ttl       = optional(number, 300)
    })), [])
  }))

Optional Inputs

The following input variables are optional (have default values):

Outputs

No outputs.

Usage

No notes