Merge pull request #5354 from jtopjian/block-device-size-required
provider/openstack: Making Block Device Size Required
This commit is contained in:
commit
68ebd11ee1
|
@ -201,7 +201,7 @@ func resourceComputeInstanceV2() *schema.Resource {
|
||||||
},
|
},
|
||||||
"volume_size": &schema.Schema{
|
"volume_size": &schema.Schema{
|
||||||
Type: schema.TypeInt,
|
Type: schema.TypeInt,
|
||||||
Optional: true,
|
Required: true,
|
||||||
},
|
},
|
||||||
"destination_type": &schema.Schema{
|
"destination_type": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
|
|
|
@ -121,7 +121,7 @@ The `block_device` block supports:
|
||||||
* `source_type` - (Required) The source type of the device. Must be one of
|
* `source_type` - (Required) The source type of the device. Must be one of
|
||||||
"image", "volume", or "snapshot".
|
"image", "volume", or "snapshot".
|
||||||
|
|
||||||
* `volume_size` - (Optional) The size of the volume to create (in gigabytes).
|
* `volume_size` - (Required) The size of the volume to create (in gigabytes).
|
||||||
|
|
||||||
* `boot_index` - (Optional) The boot index of the volume. It defaults to 0.
|
* `boot_index` - (Optional) The boot index of the volume. It defaults to 0.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue