Panfactum LogoPanfactum
Infrastructure ModulesAWSaws_dns_records

AWS DNS Records

aws_dns_records
Stable
Live
Source Code Link

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)
    })), [])
  }))

Optional Inputs

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

Outputs

No outputs.

Usage

No notes