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:
parent
9d3606c1b2
commit
5a514f22f7
|
@ -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,
|
||||
|
|
|
@ -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" {
|
||||
|
|
Loading…
Reference in New Issue