Skip to content

Latest commit

History

History

registered-domain

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

registered-domain

This module creates following resources.

  • aws_route53domains_registered_domain

Requirements

Name Version
terraform >= 1.6
aws >= 5.41

Providers

Name Version
aws 5.47.0

Modules

Name Source Version
resource_group tedilabs/misc/aws//modules/resource-group ~> 0.10.0

Resources

Name Type
aws_route53domains_registered_domain.this resource

Inputs

Name Description Type Default Required
name (Required) The name of the registred domain. string n/a yes
admin_contact (Optional) The configuration of the domain administrative contact. admin_contact as defined below.
(Optional) type - Whether the contact is a person, company, association, or public organization. Valid values are PERSON, COMPANY, ASSOCIATION, or PUBLIC_BODY, RESELLER. Defaults to PERSON.
(Optional) organization - The name of the organization for contact types other than PERSON.
(Optional) first_name - First name of contact.
(Optional) last_name - Last name of contact.
(Optional) email - The email address of the contact.
(Optional) phone - The phone number of the contact. Phone number must be specified in the format +[country dialing code].[number including any area code].
(Optional) fax - The fax number of the contact. Fax number must be specified in the format +[country dialing code].[number including any area code].

(Optional) country_code - The ISO-3166 two-letter country code for the contact address.
(Optional) state - The state or province of the contact's city.
(Optional) city - The city of the contact's address.
(Optional) address_line_1 - The first line of the contact address.
(Optional) address_line_2 - The second line of the contact address, if any.
(Optional) postal_code - The zip or postal code of the contact's address.

(Optional) extra_params - A key-value map of parameters required by certain top-level domains.
(Optional) privacy_protection_enabled - Whether domain contact information is concealed from WHOIS queries. Defaults to true.
object({
type = optional(string, "PERSON")
organization = optional(string)
first_name = optional(string)
last_name = optional(string)
email = optional(string)
phone = optional(string)
fax = optional(string)

country_code = optional(string)
state = optional(string)
city = optional(string)
address_line_1 = optional(string)
address_line_2 = optional(string)
postal_code = optional(string)

extra_params = optional(map(string), {})
privacy_protection_enabled = optional(bool, true)
})
{} no
auto_renew_enabled (Optional) Whether the domain registration is set to renew automatically. Defaults to true. bool true no
billing_contact (Optional) The configuration of the domain billing contact. billing_contact as defined below.
(Optional) type - Whether the contact is a person, company, association, or public organization. Valid values are PERSON, COMPANY, ASSOCIATION, or PUBLIC_BODY, RESELLER. Defaults to PERSON.
(Optional) organization - The name of the organization for contact types other than PERSON.
(Optional) first_name - First name of contact.
(Optional) last_name - Last name of contact.
(Optional) email - The email address of the contact.
(Optional) phone - The phone number of the contact. Phone number must be specified in the format +[country dialing code].[number including any area code].
(Optional) fax - The fax number of the contact. Fax number must be specified in the format +[country dialing code].[number including any area code].

(Optional) country_code - The ISO-3166 two-letter country code for the contact address.
(Optional) state - The state or province of the contact's city.
(Optional) city - The city of the contact's address.
(Optional) address_line_1 - The first line of the contact address.
(Optional) address_line_2 - The second line of the contact address, if any.
(Optional) postal_code - The zip or postal code of the contact's address.

(Optional) extra_params - A key-value map of parameters required by certain top-level domains.
(Optional) privacy_protection_enabled - Whether domain contact information is concealed from WHOIS queries. Defaults to true.
object({
type = optional(string, "PERSON")
organization = optional(string)
first_name = optional(string)
last_name = optional(string)
email = optional(string)
phone = optional(string)
fax = optional(string)

country_code = optional(string)
state = optional(string)
city = optional(string)
address_line_1 = optional(string)
address_line_2 = optional(string)
postal_code = optional(string)

extra_params = optional(map(string), {})
privacy_protection_enabled = optional(bool, true)
})
{} no
module_tags_enabled (Optional) Whether to create AWS Resource Tags for the module informations. bool true no
name_servers (Optional) A set of fully qualified host name of name servers for the registered domain. set(string) [] no
registrant_contact (Optional) The configuration of the domain registrant contact. registrant_contact as defined below.
(Optional) type - Whether the contact is a person, company, association, or public organization. Valid values are PERSON, COMPANY, ASSOCIATION, or PUBLIC_BODY, RESELLER. Defaults to PERSON.
(Optional) organization - The name of the organization for contact types other than PERSON.
(Optional) first_name - First name of contact.
(Optional) last_name - Last name of contact.
(Optional) email - The email address of the contact.
(Optional) phone - The phone number of the contact. Phone number must be specified in the format +[country dialing code].[number including any area code].
(Optional) fax - The fax number of the contact. Fax number must be specified in the format +[country dialing code].[number including any area code].

(Optional) country_code - The ISO-3166 two-letter country code for the contact address.
(Optional) state - The state or province of the contact's city.
(Optional) city - The city of the contact's address.
(Optional) address_line_1 - The first line of the contact address.
(Optional) address_line_2 - The second line of the contact address, if any.
(Optional) postal_code - The zip or postal code of the contact's address.

(Optional) extra_params - A key-value map of parameters required by certain top-level domains.
(Optional) privacy_protection_enabled - Whether domain contact information is concealed from WHOIS queries. Defaults to true.
object({
type = optional(string, "PERSON")
organization = optional(string)
first_name = optional(string)
last_name = optional(string)
email = optional(string)
phone = optional(string)
fax = optional(string)

country_code = optional(string)
state = optional(string)
city = optional(string)
address_line_1 = optional(string)
address_line_2 = optional(string)
postal_code = optional(string)

extra_params = optional(map(string), {})
privacy_protection_enabled = optional(bool, true)
})
{} no
resource_group_description (Optional) The description of Resource Group. string "Managed by Terraform." no
resource_group_enabled (Optional) Whether to create Resource Group to find and group AWS resources which are created by this module. bool true no
resource_group_name (Optional) The name of Resource Group. A Resource Group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with AWS or aws. string "" no
tags (Optional) A map of tags to add to all resources. map(string) {} no
technical_contact (Optional) The configuration of the domain technical contact. technical_contact as defined below.
(Optional) type - Whether the contact is a person, company, association, or public organization. Valid values are PERSON, COMPANY, ASSOCIATION, or PUBLIC_BODY, RESELLER. Defaults to PERSON.
(Optional) organization - The name of the organization for contact types other than PERSON.
(Optional) first_name - First name of contact.
(Optional) last_name - Last name of contact.
(Optional) email - The email address of the contact.
(Optional) phone - The phone number of the contact. Phone number must be specified in the format +[country dialing code].[number including any area code].
(Optional) fax - The fax number of the contact. Fax number must be specified in the format +[country dialing code].[number including any area code].

(Optional) country_code - The ISO-3166 two-letter country code for the contact address.
(Optional) state - The state or province of the contact's city.
(Optional) city - The city of the contact's address.
(Optional) address_line_1 - The first line of the contact address.
(Optional) address_line_2 - The second line of the contact address, if any.
(Optional) postal_code - The zip or postal code of the contact's address.

(Optional) extra_params - A key-value map of parameters required by certain top-level domains.
(Optional) privacy_protection_enabled - Whether domain contact information is concealed from WHOIS queries. Defaults to true.
object({
type = optional(string, "PERSON")
organization = optional(string)
first_name = optional(string)
last_name = optional(string)
email = optional(string)
phone = optional(string)
fax = optional(string)

country_code = optional(string)
state = optional(string)
city = optional(string)
address_line_1 = optional(string)
address_line_2 = optional(string)
postal_code = optional(string)

extra_params = optional(map(string), {})
privacy_protection_enabled = optional(bool, true)
})
{} no
transfer_lock_enabled (Optional) Whether the domain is locked for transfer. Defaults to true. Following top-level domains do not support transfer lock: .fi. bool true no

Outputs

Name Description
abuse_contact The contact informations to report incorrect contact information for a domain, to report that the domain is being used to send spam, to report that someone is cybersquatting on a domain name, or report some other type of abuse.
admin_contact The configuration of the domain administrative contact.
auto_renew_enabled Whether the domain registration is set to renew automatically.
billing_contact The configuration of the domain billing contact.
created_at The date when the domain was created as found in the response to a WHOIS query.
expired_at The date when the registration for the domain is set to expire.
id The ID of the registered domain.
name The name of the registered domain.
name_servers A list of name servers for the registered domain.
registrant_contact The configuration of the domain registrant contact.
registrar The informations about the registrar for the domain.
reseller Reseller of the domain.
status_codes A list of domain name status codes.
technical_contact The configuration of the domain technical contact.
transfer_lock_enabled Whether the domain is locked for transfer.
updated_at The last updated date of the domain as found in the response to a WHOIS query.
whois_server The fully qualified name of the WHOIS server that can answer the WHOIS query for the domain.