Skip to main content
Version: v1.8

Alibaba Cloud DNS

Description

Terraform configuration for Alibaba Cloud DNS.

Specification

NameDescriptionTypeRequiredDefault
add_recordsWhether to add records to dns. Default to true.boolfalse
createWhether to create a domain. Default to true.boolfalse
create_groupWhether to create a DNS group. Default to false.boolfalse
domain_nameThe name of domain.stringfalse
existing_domain_nameThe name of an existing domain. If set, 'create' will be ignored.stringfalse
existing_group_nameId of the group in which the domain will add. If not supplied, then use default group.stringfalse
group_nameDNS domain's parrent group name, If not set, a default name with prefix 'terraform-dns-group-' will be returned.stringfalse
profile(Deprecated from version 1.5.0) The profile name as set in the shared credentials file. If not set, it will be sourced from the ALICLOUD_PROFILE environment variable.stringfalse
record_list(Deprecated) It has been deprecated from 1.3.0, and use 'records' instead.list(object({\n name = string\n host_record = string\n type = string\n ttl = number\n value = string\n priority = number\n }))false
recordsDNS record list.Each item can contains keys: 'rr'(The host record of the domain record. 'name' has been deprecated from 1.3.0, and use 'rr' instead.),'type'(The type of the domain. Valid values: A, NS, MX, TXT, CNAME, SRV, AAAA, CAA, REDIRECT_URL, FORWORD_URL. Default to A.),'value'(The value of domain record),'priority'(The priority of domain record. Valid values are [1-10]. When the type is MX, this parameter is required.),'ttl'(The ttl of the domain record. Default to 600.),'line'(The resolution line of domain record. Default value is default.).list(map(string))false
region(Deprecated from version 1.5.0) The region used to launch this module resources.stringfalse
resource_group_idThe Id of resource group which the DNS belongs.stringfalse
shared_credentials_file(Deprecated from version 1.5.0) This is the path to the shared credentials file. If this is not set and a profile is specified, $HOME/.aliyun/config.json will be used.stringfalse
skip_region_validation(Deprecated from version 1.5.0) Skip static validation of region ID. Used by users of alternative AlibabaCloud-like APIs or users w/ access to regions that are not public (yet).boolfalse
writeConnectionSecretToRefThe secret which the cloud resource connection will be written to.writeConnectionSecretToReffalse

writeConnectionSecretToRef

NameDescriptionTypeRequiredDefault
nameThe secret name which the cloud resource connection will be written to.stringtrue
namespaceThe secret namespace which the cloud resource connection will be written to.stringfalse