Skip to content

Commit

Permalink
support to update port_ids for vip associate (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiChangkuo authored Nov 11, 2020
1 parent c152569 commit 69c38ae
Show file tree
Hide file tree
Showing 3 changed files with 156 additions and 262 deletions.
9 changes: 4 additions & 5 deletions docs/resources/networking_vip_associate.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ data "huaweicloud_vpc_subnet" "mynet" {
resource "huaweicloud_networking_vip" "myvip" {
network_id = data.huaweicloud_vpc_subnet.mynet.id
subnet_id = data.huaweicloud_vpc_subnet.mynet.subnet_id
}
resource "huaweicloud_networking_vip_associate" "vip_associated" {
Expand All @@ -29,13 +28,12 @@ resource "huaweicloud_networking_vip_associate" "vip_associated" {

The following arguments are supported:

* `region` - (Optional) The region in which to obtain the vip associate resource. If omitted, the provider-level region will work as default. Changing this creates a new vip associate resource.
* `region` - (Optional, ForceNew) The region in which to obtain the vip associate resource.
If omitted, the provider-level region will work as default.

* `vip_id` - (Required) The ID of vip to attach the port to.
Changing this creates a new vip associate.
* `vip_id` - (Required, ForceNew) The ID of vip to attach the ports to.

* `port_ids` - (Required) An array of one or more IDs of the ports to attach the vip to.
Changing this creates a new vip associate.

## Attributes Reference

Expand All @@ -45,3 +43,4 @@ The following attributes are exported:
* `port_ids` - See Argument Reference above.
* `vip_subnet_id` - The ID of the subnet this vip connects to.
* `vip_ip_address` - The IP address in the subnet for this vip.
* `ip_addresses` - The IP addresses of ports to attach the vip to.
Loading

0 comments on commit 69c38ae

Please sign in to comment.