2023-10-18 12:00:33 -04:00

50 lines
2.4 KiB
Markdown

<!-- BEGIN_TF_DOCS -->
## Requirements
| Name | Version |
|------|---------|
| <a name="requirement_libvirt"></a> [libvirt](#requirement\_libvirt) | 0.6.14 |
## Providers
| Name | Version |
|------|---------|
| <a name="provider_libvirt"></a> [libvirt](#provider\_libvirt) | 0.6.14 |
| <a name="provider_null"></a> [null](#provider\_null) | n/a |
## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| libvirt_volume.voldef_ephemeral_baked | resource |
| libvirt_volume.voldef_ephemeral_created | resource |
| libvirt_volume.voldef_ephemeral_sourced | resource |
| [null_resource.voldef_persistant_created](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_base_file"></a> [base\_file](#input\_base\_file) | Name of the source image | `string` | `""` | no |
| <a name="input_base_pool"></a> [base\_pool](#input\_base\_pool) | Pool of the source image | `string` | `"default"` | no |
| <a name="input_file"></a> [file](#input\_file) | Determine the filename of the volume | `string` | `""` | no |
| <a name="input_format"></a> [format](#input\_format) | Determine the format of the image | `string` | `"qcow2"` | no |
| <a name="input_name"></a> [name](#input\_name) | Determine the name of the volume | `string` | n/a | yes |
| <a name="input_persistant"></a> [persistant](#input\_persistant) | Enable destroy protection on this volume | `bool` | `false` | no |
| <a name="input_pool"></a> [pool](#input\_pool) | Determine pool to create volume within | `string` | `"default"` | no |
| <a name="input_pool_dir"></a> [pool\_dir](#input\_pool\_dir) | Default path for all pools | `string` | `"/virt"` | no |
| <a name="input_size_gb"></a> [size\_gb](#input\_size\_gb) | Default size for the volume | `number` | `0` | no |
| <a name="input_ssh_conn"></a> [ssh\_conn](#input\_ssh\_conn) | Default settings for ssh connexion | `any` | <pre>{<br> "agent": true,<br> "host": "wks1.office.barbu-it.net",<br> "password": null,<br> "user": null<br>}</pre> | no |
| <a name="input_url"></a> [url](#input\_url) | Download url for volume | `string` | `""` | no |
## Outputs
| Name | Description |
|------|-------------|
| <a name="output_info"></a> [info](#output\_info) | n/a |
| <a name="output_volume"></a> [volume](#output\_volume) | n/a |
<!-- END_TF_DOCS -->