Skip to content

Commit a9af904

Browse files
authored
Merge pull request #462 from crab21/cdn_name_error
fix cdn resource fields description
2 parents 54c4ca6 + 1ee571d commit a9af904

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tencentcloud/resource_tc_cdn_domain.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func resourceTencentCloudCdnDomain() *schema.Resource {
113113
Type: schema.TypeList,
114114
Required: true,
115115
Elem: &schema.Schema{Type: schema.TypeString},
116-
Description: "Master origin server list. Valid values can be ip or doamin name. When modifying the origin server, you need to enter the corresponding `origin_type`.",
116+
Description: "Master origin server list. Valid values can be ip or domain name. When modifying the origin server, you need to enter the corresponding `origin_type`.",
117117
},
118118
"server_name": {
119119
Type: schema.TypeString,
@@ -143,7 +143,7 @@ func resourceTencentCloudCdnDomain() *schema.Resource {
143143
Type: schema.TypeList,
144144
Optional: true,
145145
Elem: &schema.Schema{Type: schema.TypeString},
146-
Description: "Backup origin server list. Valid values can be ip or doamin name. When modifying the backup origin server, you need to enter the corresponding `backup_origin_type`.",
146+
Description: "Backup origin server list. Valid values can be ip or domain name. When modifying the backup origin server, you need to enter the corresponding `backup_origin_type`.",
147147
},
148148
"backup_server_name": {
149149
Type: schema.TypeString,

website/docs/r/cdn_domain.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ The `https_config` object supports the following:
6868

6969
The `origin` object supports the following:
7070

71-
* `origin_list` - (Required) Master origin server list. Valid values can be ip or doamin name. When modifying the origin server, you need to enter the corresponding `origin_type`.
71+
* `origin_list` - (Required) Master origin server list. Valid values can be ip or domain name. When modifying the origin server, you need to enter the corresponding `origin_type`.
7272
* `origin_type` - (Required) Master origin server type. Valid values are `domain`, `cos`, `ip`, `ipv6` and `ip_ipv6`.
73-
* `backup_origin_list` - (Optional) Backup origin server list. Valid values can be ip or doamin name. When modifying the backup origin server, you need to enter the corresponding `backup_origin_type`.
73+
* `backup_origin_list` - (Optional) Backup origin server list. Valid values can be ip or domain name. When modifying the backup origin server, you need to enter the corresponding `backup_origin_type`.
7474
* `backup_origin_type` - (Optional) Backup origin server type. Valid values are `domain` and `ip`.
7575
* `backup_server_name` - (Optional) Host header used when accessing the backup origin server. If left empty, the ServerName of master origin server will be used by default.
7676
* `cos_private_access` - (Optional) When OriginType is COS, you can specify if access to private buckets is allowed. Valid values are `on` and `off`, and default value is `off`.

0 commit comments

Comments
 (0)