diff --git a/builtin/providers/openstack/resource_openstack_lb_listener_v2.go b/builtin/providers/openstack/resource_openstack_lb_listener_v2.go index 51fbd2cd2..0ca6bf07b 100644 --- a/builtin/providers/openstack/resource_openstack_lb_listener_v2.go +++ b/builtin/providers/openstack/resource_openstack_lb_listener_v2.go @@ -96,6 +96,7 @@ func resourceListenerV2() *schema.Resource { "admin_state_up": &schema.Schema{ Type: schema.TypeBool, + Default: true, Optional: true, }, diff --git a/builtin/providers/openstack/resource_openstack_lb_loadbalancer_v2.go b/builtin/providers/openstack/resource_openstack_lb_loadbalancer_v2.go index 2c5877e5d..74a63c0f2 100644 --- a/builtin/providers/openstack/resource_openstack_lb_loadbalancer_v2.go +++ b/builtin/providers/openstack/resource_openstack_lb_loadbalancer_v2.go @@ -59,6 +59,7 @@ func resourceLoadBalancerV2() *schema.Resource { "admin_state_up": &schema.Schema{ Type: schema.TypeBool, + Default: true, Optional: true, }, diff --git a/builtin/providers/openstack/resource_openstack_lb_member_v2.go b/builtin/providers/openstack/resource_openstack_lb_member_v2.go index 1bb28daee..4ccf7aee5 100644 --- a/builtin/providers/openstack/resource_openstack_lb_member_v2.go +++ b/builtin/providers/openstack/resource_openstack_lb_member_v2.go @@ -73,6 +73,7 @@ func resourceMemberV2() *schema.Resource { "admin_state_up": &schema.Schema{ Type: schema.TypeBool, + Default: true, Optional: true, }, diff --git a/builtin/providers/openstack/resource_openstack_lb_monitor_v2.go b/builtin/providers/openstack/resource_openstack_lb_monitor_v2.go index edbb6f40d..51ae0acc9 100644 --- a/builtin/providers/openstack/resource_openstack_lb_monitor_v2.go +++ b/builtin/providers/openstack/resource_openstack_lb_monitor_v2.go @@ -79,6 +79,7 @@ func resourceMonitorV2() *schema.Resource { }, "admin_state_up": &schema.Schema{ Type: schema.TypeBool, + Default: true, Optional: true, }, diff --git a/builtin/providers/openstack/resource_openstack_lb_pool_v2.go b/builtin/providers/openstack/resource_openstack_lb_pool_v2.go index 373d8b2eb..aeb59caaf 100644 --- a/builtin/providers/openstack/resource_openstack_lb_pool_v2.go +++ b/builtin/providers/openstack/resource_openstack_lb_pool_v2.go @@ -116,6 +116,7 @@ func resourcePoolV2() *schema.Resource { "admin_state_up": &schema.Schema{ Type: schema.TypeBool, + Default: true, Optional: true, },