provider/openstack: Add Additional Targets for LBaaS v1 Member (#12266)

This commit adds CREATED and DOWN as additional valid targets
for creating LBaaS v1 members.
This commit is contained in:
Joe Topjian 2017-02-27 03:32:16 -07:00 committed by Paul Stack
parent 9d3606c1b2
commit 5a514f22f7
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ func resourceLBMemberV1Create(d *schema.ResourceData, meta interface{}) error {
stateConf := &resource.StateChangeConf{
Pending: []string{"PENDING_CREATE"},
Target: []string{"ACTIVE", "INACTIVE"},
Target: []string{"ACTIVE", "INACTIVE", "CREATED", "DOWN"},
Refresh: waitForLBMemberActive(networkingClient, m.ID),
Timeout: 2 * time.Minute,
Delay: 5 * time.Second,

View File

@ -180,9 +180,9 @@ resource "openstack_lb_pool_v1" "pool_1" {
`
const testAccLBV1Pool_fullstack_1 = `
resource "openstack_networking_network_v2" "network_1" {
name = "network_1"
admin_state_up = "true"
resource "openstack_networking_network_v2" "network_1" {
}
resource "openstack_networking_subnet_v2" "subnet_1" {