Merge pull request #4850 from Sheile/f-openstack-optional-ipaddress
provider/openstack Changing the port resource to mark the ip_address as optional
This commit is contained in:
commit
5474d751ab
|
@ -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