Skip to content

Commit 54ec823

Browse files
authored
fix(private_dns): [116458440] Add ForceNew attribute to domain parameter (#2555)
* fix/private_dns * fix/private_dns
1 parent c37585c commit 54ec823

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.changelog/2555.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_private_dns_zone: Add ForceNew attribute to domain parameter.
3+
```

tencentcloud/services/privatedns/resource_tc_private_dns_zone.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ func ResourceTencentCloudPrivateDnsZone() *schema.Resource {
2929
"domain": {
3030
Type: schema.TypeString,
3131
Required: true,
32+
ForceNew: true,
3233
Description: "Domain name, which must be in the format of standard TLD.",
3334
},
3435
"tag_set": {

website/docs/r/private_dns_zone.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ resource "tencentcloud_private_dns_zone" "example" {
7171

7272
The following arguments are supported:
7373

74-
* `domain` - (Required, String) Domain name, which must be in the format of standard TLD.
74+
* `domain` - (Required, String, ForceNew) Domain name, which must be in the format of standard TLD.
7575
* `account_vpc_set` - (Optional, List) List of authorized accounts' VPCs to associate with the private domain.
7676
* `cname_speedup_status` - (Optional, String) CNAME acceleration: ENABLED, DISABLED, Default value is ENABLED.
7777
* `dns_forward_status` - (Optional, String) Whether to enable subdomain recursive DNS. Valid values: ENABLED, DISABLED. Default value: DISABLED.

0 commit comments

Comments
 (0)