Skip to content

fix(private_dns): [116458440] Add ForceNew attribute to domain parameter #2555

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/2555.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/tencentcloud_private_dns_zone: Add ForceNew attribute to domain parameter.
```
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func ResourceTencentCloudPrivateDnsZone() *schema.Resource {
"domain": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个是不兼容变更吧

Description: "Domain name, which must be in the format of standard TLD.",
},
"tag_set": {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/private_dns_zone.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ resource "tencentcloud_private_dns_zone" "example" {

The following arguments are supported:

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