Skip to main content
版本:v1.3

阿里云 DNS

描述

Terraform configuration for Alibaba Cloud DNS

参数说明

属性

名称描述类型是否必须默认值
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 towriteConnectionSecretToReffalse

writeConnectionSecretToRef

名称描述类型是否必须默认值
nameThe secret name which the cloud resource connection will be written tostringtrue
namespaceThe secret namespace which the cloud resource connection will be written tostringfalse