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
2 changes: 2 additions & 0 deletions tencentcloud/extension_vpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const (

EIP_TYPE_EIP = "EIP"
EIP_TYPE_ANYCAST = "AnycastEIP"
EIP_TYPE_HIGH_QUALITY = "HighQualityEIP"

EIP_ANYCAST_ZONE_GLOBAL = "ANYCAST_ZONE_GLOBAL"
EIP_ANYCAST_ZONE_OVERSEAS = "ANYCAST_ZONE_OVERSEAS"
Expand All @@ -68,6 +69,7 @@ var EIP_INTERNET_PROVIDER = []string{
var EIP_TYPE = []string{
EIP_TYPE_EIP,
EIP_TYPE_ANYCAST,
EIP_TYPE_HIGH_QUALITY,
}

var EIP_ANYCAST_ZONE = []string{
Expand Down
2 changes: 1 addition & 1 deletion tencentcloud/resource_tc_eip.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func resourceTencentCloudEip() *schema.Resource {
Default: EIP_TYPE_EIP,
ForceNew: true,
ValidateFunc: validateAllowedStringValue(EIP_TYPE),
Description: "The type of eip. Valid value: `EIP` and `AnycastEIP`. Default is `EIP`.",
Description: "The type of eip. Valid value: `EIP` and `AnycastEIP` and `HighQualityEIP`. Default is `EIP`.",
},
"anycast_zone": {
Type: schema.TypeString,
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/eip.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The following arguments are supported:
* `internet_service_provider` - (Optional, ForceNew) Internet service provider of eip. Valid value: `BGP`, `CMCC`, `CTCC` and `CUCC`.
* `name` - (Optional) The name of eip.
* `tags` - (Optional) The tags of eip.
* `type` - (Optional, ForceNew) The type of eip. Valid value: `EIP` and `AnycastEIP`. Default is `EIP`.
* `type` - (Optional, ForceNew) The type of eip. Valid value: `EIP` and `AnycastEIP` and `HighQualityEIP`. Default is `EIP`.

## Attributes Reference

Expand Down