Use env var OS_POOL_NAME as default for pool attribute
To have the same behaviour for openstack_networking_floatingip_v2 and openstack_compute_foatingip_v2.
This commit is contained in:
parent
a90b9db397
commit
c0b85d4939
|
@ -28,9 +28,10 @@ func resourceNetworkingFloatingIPV2() *schema.Resource {
|
|||
Computed: true,
|
||||
},
|
||||
"pool": &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Required: true,
|
||||
ForceNew: true,
|
||||
Type: schema.TypeString,
|
||||
Required: true,
|
||||
ForceNew: true,
|
||||
DefaultFunc: envDefaultFunc("OS_POOL_NAME"),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue