diff options
author | Flavio Castelli <fcastelli@suse.com> | 2016-06-12 23:29:30 +0200 |
---|---|---|
committer | Flavio Castelli <fcastelli@suse.com> | 2016-06-16 18:15:48 +0200 |
commit | 9a145accf7eb88591e8445bd2c8a2174c1c1cbe6 (patch) | |
tree | 08b3d86d241eafaa13b99711c6da51a81052a530 /docs/providers/libvirt | |
parent | cf45c4af0ec47fd183d4eda339fd97bfcb0bfc35 (diff) | |
download | terraform-provider-libvirt-9a145accf7eb88591e8445bd2c8a2174c1c1cbe6.tar terraform-provider-libvirt-9a145accf7eb88591e8445bd2c8a2174c1c1cbe6.tar.gz |
Allow to specify the base volume by using a name
It's now possible to specify a base volume by using the
`base_volume_name`. This is an approach done also by other Terraform
providers: either use an "internal" ID or a human-friendly name.
This makes easier to share the same base volume between different
terraform projects.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
Diffstat (limited to 'docs/providers/libvirt')
-rw-r--r-- | docs/providers/libvirt/r/volume.html.markdown | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/providers/libvirt/r/volume.html.markdown b/docs/providers/libvirt/r/volume.html.markdown index d7f18783..f76c718b 100644 --- a/docs/providers/libvirt/r/volume.html.markdown +++ b/docs/providers/libvirt/r/volume.html.markdown @@ -34,4 +34,5 @@ The following arguments are supported: * `size` - (Optional) The size of the volume in bytes (if you don't like this, help fix [this issue](https://github.com/hashicorp/terraform/issues/3287). If `source` is specified, `size` will be set to the source image file size. * `base_volume_id` - (Optional) The backing volume (CoW) to use for this volume. - +* `base_volume_name` - (Optional) The name of the backing volume (CoW) to use for this volume. Note well: when `base_volume_pool` is not specified the volume is going to be searched inside of `pool`. +* `base_volume_pool` - (Optional) The name of the pool containing the volume defined by `base_volume_name`. |