Skip to content
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/3648.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/tencentcloud_vpn_ssl_server: mark `ssl_vpn_protocol`, `integrity_algorithm`, `encrypt_algorithm`, `compress` as computed
```
4 changes: 4 additions & 0 deletions tencentcloud/services/vpn/resource_tc_vpn_ssl_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,25 @@ func ResourceTencentCloudVpnSslServer() *schema.Resource {
"ssl_vpn_protocol": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "The protocol of ssl vpn. Default value: UDP.",
},
"ssl_vpn_port": {
Type: schema.TypeInt,
Optional: true,
Computed: true,
Description: "The port of ssl vpn. Currently only supports UDP. Default value: 1194.",
},
"integrity_algorithm": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "The integrity algorithm. Valid values: SHA1. Default value: SHA1.",
},
"encrypt_algorithm": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "The encrypt algorithm. Valid values: AES-128-CBC, AES-192-CBC, AES-256-CBC." +
"Default value: AES-128-CBC.",
},
Expand Down
16 changes: 8 additions & 8 deletions tencentcloud/services/vpn/resource_tc_vpn_ssl_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ Example Usage
```hcl
resource "tencentcloud_vpn_ssl_server" "example" {
local_address = [
"10.0.0.0/17",
"10.0.200.0/24",
]
remote_address = "11.0.0.0/16"
remote_address = "192.168.100.0/24"
ssl_vpn_server_name = "helloworld"
vpn_gateway_id = "vpngw-335lwf7d"
ssl_vpn_protocol = "UDP"
ssl_vpn_port = 1194
integrity_algorithm = "MD5"
encrypt_algorithm = "AES-128-CBC"
compress = true
vpn_gateway_id = "vpngw-6lq9ayur"
# ssl_vpn_protocol = "UDP"
# ssl_vpn_port = 9798
# integrity_algorithm = "SHA1"
# encrypt_algorithm = "AES-128-CBC"
# compress = true
}
```

Expand Down
16 changes: 8 additions & 8 deletions website/docs/r/vpn_ssl_server.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ Provide a resource to create a VPN SSL Server.
```hcl
resource "tencentcloud_vpn_ssl_server" "example" {
local_address = [
"10.0.0.0/17",
"10.0.200.0/24",
]
remote_address = "11.0.0.0/16"
remote_address = "192.168.100.0/24"
ssl_vpn_server_name = "helloworld"
vpn_gateway_id = "vpngw-335lwf7d"
ssl_vpn_protocol = "UDP"
ssl_vpn_port = 1194
integrity_algorithm = "MD5"
encrypt_algorithm = "AES-128-CBC"
compress = true
vpn_gateway_id = "vpngw-6lq9ayur"
# ssl_vpn_protocol = "UDP"
# ssl_vpn_port = 9798
# integrity_algorithm = "SHA1"
# encrypt_algorithm = "AES-128-CBC"
# compress = true
}
```

Expand Down
Loading