provider/openstack Changing the port resource to mark the ip_address as Optional
This commit is contained in:
parent
24f10b024f
commit
0aff8e28a5
|
@ -89,7 +89,7 @@ func resourceNetworkingPortV2() *schema.Resource {
|
|||
},
|
||||
"ip_address": &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Required: true,
|
||||
Optional: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -69,8 +69,9 @@ The `fixed_ip` block supports:
|
|||
* `subnet_id` - (Required) Subnet in which to allocate IP address for
|
||||
this port.
|
||||
|
||||
* `ip_address` - (Required) IP address desired in the subnet for this
|
||||
port.
|
||||
* `ip_address` - (Optional) IP address desired in the subnet for this
|
||||
port. If you don't specify `ip_address`, OpenStack will be allocated an available
|
||||
IP address to this port.
|
||||
|
||||
## Attributes Reference
|
||||
|
||||
|
|
Loading…
Reference in New Issue