mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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{
|
stateConf := &resource.StateChangeConf{
|
||||||
Pending: []string{"PENDING_CREATE"},
|
Pending: []string{"PENDING_CREATE"},
|
||||||
Target: []string{"ACTIVE", "INACTIVE"},
|
Target: []string{"ACTIVE", "INACTIVE", "CREATED", "DOWN"},
|
||||||
Refresh: waitForLBMemberActive(networkingClient, m.ID),
|
Refresh: waitForLBMemberActive(networkingClient, m.ID),
|
||||||
Timeout: 2 * time.Minute,
|
Timeout: 2 * time.Minute,
|
||||||
Delay: 5 * time.Second,
|
Delay: 5 * time.Second,
|
||||||
|
@ -180,9 +180,9 @@ resource "openstack_lb_pool_v1" "pool_1" {
|
|||||||
`
|
`
|
||||||
|
|
||||||
const testAccLBV1Pool_fullstack_1 = `
|
const testAccLBV1Pool_fullstack_1 = `
|
||||||
|
resource "openstack_networking_network_v2" "network_1" {
|
||||||
name = "network_1"
|
name = "network_1"
|
||||||
admin_state_up = "true"
|
admin_state_up = "true"
|
||||||
resource "openstack_networking_network_v2" "network_1" {
|
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "openstack_networking_subnet_v2" "subnet_1" {
|
resource "openstack_networking_subnet_v2" "subnet_1" {
|
||||||
|
Loading…
Reference in New Issue
Block a user