Skip to content

Commit 9dcb452

Browse files
authoredApr 11, 2025
fix(vpc): [137857933] Update field information (#3302)
* add * add
1 parent 2a77373 commit 9dcb452

9 files changed

+19
-9
lines changed
 

‎.changelog/3302.txt

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_protocol_template: update doc
3+
```
4+
5+
```release-note:enhancement
6+
resource/tencentcloud_protocol_template_group: update doc
7+
```
8+
9+
```release-note:enhancement
10+
resource/tencentcloud_address_template: update doc
11+
```
12+
13+
```release-note:enhancement
14+
resource/tencentcloud_address_template_group: update doc
15+
```

‎tencentcloud/services/vpc/resource_tc_address_template.go

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ func ResourceTencentCloudAddressTemplate() *schema.Resource {
2323
Schema: map[string]*schema.Schema{
2424
"name": {
2525
Type: schema.TypeString,
26-
ForceNew: true,
2726
Required: true,
2827
Description: "Name of the address template.",
2928
},

‎tencentcloud/services/vpc/resource_tc_address_template_group.go

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ func ResourceTencentCloudAddressTemplateGroup() *schema.Resource {
2323
Schema: map[string]*schema.Schema{
2424
"name": {
2525
Type: schema.TypeString,
26-
ForceNew: true,
2726
Required: true,
2827
Description: "Name of the address template group.",
2928
},

‎tencentcloud/services/vpc/resource_tc_protocol_template.go

-2
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@ func ResourceTencentCloudProtocolTemplate() *schema.Resource {
1919
Importer: &schema.ResourceImporter{
2020
State: schema.ImportStatePassthrough,
2121
},
22-
2322
Schema: map[string]*schema.Schema{
2423
"name": {
2524
Type: schema.TypeString,
26-
ForceNew: true,
2725
Required: true,
2826
Description: "Name of the protocol template.",
2927
},

‎tencentcloud/services/vpc/resource_tc_protocol_template_group.go

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ func ResourceTencentCloudProtocolTemplateGroup() *schema.Resource {
2323
Schema: map[string]*schema.Schema{
2424
"name": {
2525
Type: schema.TypeString,
26-
ForceNew: true,
2726
Required: true,
2827
Description: "Name of the protocol template group.",
2928
},

‎website/docs/r/address_template.html.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ resource "tencentcloud_address_template" "foo" {
2727
The following arguments are supported:
2828

2929
* `addresses` - (Required, Set: [`String`]) Address list. IP(`10.0.0.1`), CIDR(`10.0.1.0/24`), IP range(`10.0.0.1-10.0.0.100`) format are supported.
30-
* `name` - (Required, String, ForceNew) Name of the address template.
30+
* `name` - (Required, String) Name of the address template.
3131

3232
## Attributes Reference
3333

‎website/docs/r/address_template_group.html.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ resource "tencentcloud_address_template_group" "foo" {
2424

2525
The following arguments are supported:
2626

27-
* `name` - (Required, String, ForceNew) Name of the address template group.
27+
* `name` - (Required, String) Name of the address template group.
2828
* `template_ids` - (Required, Set: [`String`]) Template ID list.
2929

3030
## Attributes Reference

‎website/docs/r/protocol_template.html.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ resource "tencentcloud_protocol_template" "foo" {
2424

2525
The following arguments are supported:
2626

27-
* `name` - (Required, String, ForceNew) Name of the protocol template.
27+
* `name` - (Required, String) Name of the protocol template.
2828
* `protocols` - (Required, Set: [`String`]) Protocol list. Valid protocols are `tcp`, `udp`, `icmp`, `gre`. Single port(tcp:80), multi-port(tcp:80,443), port range(tcp:3306-20000), all(tcp:all) format are support. Protocol `icmp` and `gre` cannot specify port.
2929

3030
## Attributes Reference

‎website/docs/r/protocol_template_group.html.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ resource "tencentcloud_protocol_template_group" "foo" {
2424

2525
The following arguments are supported:
2626

27-
* `name` - (Required, String, ForceNew) Name of the protocol template group.
27+
* `name` - (Required, String) Name of the protocol template group.
2828
* `template_ids` - (Required, Set: [`String`]) Service template ID list.
2929

3030
## Attributes Reference

0 commit comments

Comments
 (0)