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:

  • aws (5.70.0)

  • pf (0.0.3)

Required Inputs

The following input variables are required:

zones

Description: Zone configurations. Keys are the domain names.

Type:

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

Optional Inputs

No optional inputs.

Outputs

No outputs.

Usage

No notes