Panfactum LogoPanfactum
Infrastructure ModulesDirect ModulesAWSaws_registered_domains
aws_registered_domains
Stable
Direct
Source Code Link

AWS Registered Domains

Providers

The following providers are needed by this module:

  • aws (5.70.0)

  • pf (0.0.3)

  • time (0.10.0)

Required Inputs

The following input variables are required:

admin_address_line_1

Description: The street address (1) of the domain admin contact

Type: string

admin_city

Description: The city of the domain admin contact

Type: string

admin_country_code

Description: The country code of the domain admin contact

Type: string

admin_email_address

Description: The email address of the domain contact

Type: string

admin_first_name

Description: The first name of the domain admin contact

Type: string

admin_last_name

Description: The last name of the domain admin contact

Type: string

admin_phone_number

Description: The phone number of the domain contact

Type: string

admin_state

Description: The state or province of the domain admin contact

Type: string

admin_zip_code

Description: The ZIP code of the domain admin contact

Type: string

domain_names

Description: Domain names that will be managed by this module

Type: set(string)

registrant_address_line_1

Description: The street address (1) of the domain registrant contact

Type: string

registrant_city

Description: The city of the domain registrant contact

Type: string

registrant_country_code

Description: The country code of the domain registrant contact

Type: string

registrant_email_address

Description: The email address of the domain contact

Type: string

registrant_first_name

Description: The first name of the domain registrant contact

Type: string

registrant_last_name

Description: The last name of the domain registrant contact

Type: string

registrant_phone_number

Description: The phone number of the domain contact

Type: string

registrant_state

Description: The state or province of the domain registrant contact

Type: string

registrant_zip_code

Description: The ZIP code of the domain registrant contact

Type: string

tech_address_line_1

Description: The street address (1) of the domain tech contact

Type: string

tech_city

Description: The city of the domain tech contact

Type: string

tech_country_code

Description: The country code of the domain tech contact

Type: string

tech_email_address

Description: The email address of the domain contact

Type: string

tech_first_name

Description: The first name of the domain tech contact

Type: string

tech_last_name

Description: The last name of the domain tech contact

Type: string

tech_phone_number

Description: The phone number of the domain contact

Type: string

tech_state

Description: The state or province of the domain tech contact

Type: string

tech_zip_code

Description: The ZIP code of the domain tech contact

Type: string

Optional Inputs

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

additional_account_ids_with_record_access

Description: Additional AWS account IDs for accounts that can assume with record manager role

Type: list(string)

Default: []

admin_address_line_2

Description: The street address (2) of the domain admin contact

Type: string

Default: null

admin_contact_type

Description: The type of the contact. Defaults to PERSON if admin_organization_name is not provided. Otherwise, defaults to COMPANY.

Type: string

Default: "DEFAULT"

admin_organization_name

Description: The name of the organization that the admin contact works for

Type: string

Default: null

enable_auto_renew

Description: Whether to enable automatic domain renewal

Type: bool

Default: true

enable_privacy_protection

Description: Whether to enable Whois privacy protection

Type: bool

Default: true

enable_transfer_lock

Description: Whether to enable domain transfer lock

Type: bool

Default: true

registrant_address_line_2

Description: The street address (2) of the domain registrant contact

Type: string

Default: null

registrant_contact_type

Description: The type of the contact. Defaults to PERSON if registrant_organization_name is not provided. Otherwise, defaults to COMPANY.

Type: string

Default: "DEFAULT"

registrant_organization_name

Description: The name of the organization that the registrant contact works for

Type: string

Default: null

tech_address_line_2

Description: The street address (2) of the domain tech contact

Type: string

Default: null

tech_contact_type

Description: The type of the contact. Defaults to PERSON if tech_organization_name is not provided. Otherwise, defaults to COMPANY.

Type: string

Default: "DEFAULT"

tech_organization_name

Description: The name of the organization that the tech contact works for

Type: string

Default: null

Outputs

The following outputs are exported:

domains

Description: n/a

record_manager_role_arn

Description: The ARN of the IAM role used to manage DNS records.

zones

Description: Zone information

Usage

Create / Delete

This module does not register domains but rather adopts domains that you have already registered and updates their information. Additionally, destroying this module does un-register the domains; it only removes them from the terraform state.

Contact Information

There are three different domain contacts:

  • Registrant: The owner of the domain
  • Admin: The person responsible for administrative decisions about the domain
  • Tech: The person responsible for executing changes for the domain

It is possible for the same person to serve multiple roles.

These people will be contacted in the case of billing issues, abuse, or required changes. Their information is not publicly available, but will be made available to the registrar (AWS).