Skip to content

fix(vpc): [137857933] Update field information #3302

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
Apr 11, 2025
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
15 changes: 15 additions & 0 deletions .changelog/3302.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
```release-note:enhancement
resource/tencentcloud_protocol_template: update doc
```

```release-note:enhancement
resource/tencentcloud_protocol_template_group: update doc
```

```release-note:enhancement
resource/tencentcloud_address_template: update doc
```

```release-note:enhancement
resource/tencentcloud_address_template_group: update doc
```
1 change: 0 additions & 1 deletion tencentcloud/services/vpc/resource_tc_address_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ func ResourceTencentCloudAddressTemplate() *schema.Resource {
Schema: map[string]*schema.Schema{
"name": {
Type: schema.TypeString,
ForceNew: true,
Required: true,
Description: "Name of the address template.",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ func ResourceTencentCloudAddressTemplateGroup() *schema.Resource {
Schema: map[string]*schema.Schema{
"name": {
Type: schema.TypeString,
ForceNew: true,
Required: true,
Description: "Name of the address template group.",
},
Expand Down
2 changes: 0 additions & 2 deletions tencentcloud/services/vpc/resource_tc_protocol_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@ func ResourceTencentCloudProtocolTemplate() *schema.Resource {
Importer: &schema.ResourceImporter{
State: schema.ImportStatePassthrough,
},

Schema: map[string]*schema.Schema{
"name": {
Type: schema.TypeString,
ForceNew: true,
Required: true,
Description: "Name of the protocol template.",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ func ResourceTencentCloudProtocolTemplateGroup() *schema.Resource {
Schema: map[string]*schema.Schema{
"name": {
Type: schema.TypeString,
ForceNew: true,
Required: true,
Description: "Name of the protocol template group.",
},
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/address_template.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "tencentcloud_address_template" "foo" {
The following arguments are supported:

* `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.
* `name` - (Required, String, ForceNew) Name of the address template.
* `name` - (Required, String) Name of the address template.

## Attributes Reference

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/address_template_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ resource "tencentcloud_address_template_group" "foo" {

The following arguments are supported:

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

## Attributes Reference
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/protocol_template.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ resource "tencentcloud_protocol_template" "foo" {

The following arguments are supported:

* `name` - (Required, String, ForceNew) Name of the protocol template.
* `name` - (Required, String) Name of the protocol template.
* `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.

## Attributes Reference
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/protocol_template_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ resource "tencentcloud_protocol_template_group" "foo" {

The following arguments are supported:

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

## Attributes Reference
Expand Down
Loading