diff --git a/docs/cloud_project.md b/docs/cloud_project.md new file mode 100644 index 0000000..4fc50e6 --- /dev/null +++ b/docs/cloud_project.md @@ -0,0 +1,35 @@ + +## Requirements + +No requirements. + +## Providers + +No providers. + +## Modules + +| Name | Source | Version | +|------|--------|---------| +| [virt\_namespace](#module\_virt\_namespace) | ../virt_namespace | n/a | + +## Resources + +No resources. + +## Inputs + +| Name | Description | Type | Default | Required | +|------|-------------|------|---------|:--------:| +| [cloud](#input\_cloud) | Cloud informations | `any` | `{}` | no | +| [deploy](#input\_deploy) | Deployment options | `any` | `{}` | no | +| [stack](#input\_stack) | Default stack | `any` | `{}` | no | +| [stacks](#input\_stacks) | Deployments configuration | `any` | `[]` | no | +| [tenant](#input\_tenant) | Tenant informations | `any` | `{}` | no | + +## Outputs + +| Name | Description | +|------|-------------| +| [namespace](#output\_namespace) | Output ===================== | + \ No newline at end of file diff --git a/docs/iaas_inv_ansible.md b/docs/iaas_inv_ansible.md new file mode 100644 index 0000000..1122785 --- /dev/null +++ b/docs/iaas_inv_ansible.md @@ -0,0 +1,33 @@ + +## Requirements + +No requirements. + +## Providers + +| Name | Version | +|------|---------| +| [ansible](#provider\_ansible) | n/a | + +## Modules + +No modules. + +## Resources + +| Name | Type | +|------|------| +| [ansible_group.web](https://registry.terraform.io/providers/hashicorp/ansible/latest/docs/resources/group) | resource | +| [ansible_host.example](https://registry.terraform.io/providers/hashicorp/ansible/latest/docs/resources/host) | resource | +| [ansible_host.example2](https://registry.terraform.io/providers/hashicorp/ansible/latest/docs/resources/host) | resource | + +## Inputs + +| Name | Description | Type | Default | Required | +|------|-------------|------|---------|:--------:| +| [payload](#input\_payload) | Instance description | `any` | `{}` | no | + +## Outputs + +No outputs. + \ No newline at end of file diff --git a/docs/iaas_inv_ansible___OLD.md b/docs/iaas_inv_ansible___OLD.md new file mode 100644 index 0000000..fd5cb7c --- /dev/null +++ b/docs/iaas_inv_ansible___OLD.md @@ -0,0 +1,31 @@ + +## Requirements + +No requirements. + +## Providers + +| Name | Version | +|------|---------| +| [local](#provider\_local) | n/a | + +## Modules + +No modules. + +## Resources + +| Name | Type | +|------|------| +| [local_file.ansible_inventory](https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/file) | resource | + +## Inputs + +| Name | Description | Type | Default | Required | +|------|-------------|------|---------|:--------:| +| [payload](#input\_payload) | Payload informations | `any` | `{}` | no | + +## Outputs + +No outputs. + \ No newline at end of file diff --git a/docs/iaas_inv_ansible__ansible_host.md b/docs/iaas_inv_ansible__ansible_host.md new file mode 100644 index 0000000..7e1bd5e --- /dev/null +++ b/docs/iaas_inv_ansible__ansible_host.md @@ -0,0 +1,33 @@ + +## Requirements + +| Name | Version | +|------|---------| +| [ansible](#requirement\_ansible) | 1.0.4 | + +## Providers + +| Name | Version | +|------|---------| +| [ansible](#provider\_ansible) | 1.0.4 | + +## Modules + +No modules. + +## Resources + +| Name | Type | +|------|------| +| [ansible_group.web](https://registry.terraform.io/providers/nbering/ansible/1.0.4/docs/resources/group) | resource | +| [ansible_host.example](https://registry.terraform.io/providers/nbering/ansible/1.0.4/docs/resources/host) | resource | +| [ansible_host.example2](https://registry.terraform.io/providers/nbering/ansible/1.0.4/docs/resources/host) | resource | + +## Inputs + +No inputs. + +## Outputs + +No outputs. + \ No newline at end of file diff --git a/docs/iaas_inv_ansible__group.md b/docs/iaas_inv_ansible__group.md new file mode 100644 index 0000000..ef2fa69 --- /dev/null +++ b/docs/iaas_inv_ansible__group.md @@ -0,0 +1,25 @@ + +## Requirements + +No requirements. + +## Providers + +No providers. + +## Modules + +No modules. + +## Resources + +No resources. + +## Inputs + +No inputs. + +## Outputs + +No outputs. + \ No newline at end of file diff --git a/docs/iaas_inv_ansible__modules.md b/docs/iaas_inv_ansible__modules.md new file mode 100644 index 0000000..ef2fa69 --- /dev/null +++ b/docs/iaas_inv_ansible__modules.md @@ -0,0 +1,25 @@ + +## Requirements + +No requirements. + +## Providers + +No providers. + +## Modules + +No modules. + +## Resources + +No resources. + +## Inputs + +No inputs. + +## Outputs + +No outputs. + \ No newline at end of file diff --git a/docs/virt_cloudinit.md b/docs/virt_cloudinit.md new file mode 100644 index 0000000..cc296b1 --- /dev/null +++ b/docs/virt_cloudinit.md @@ -0,0 +1,37 @@ + +## Requirements + +| Name | Version | +|------|---------| +| [libvirt](#requirement\_libvirt) | 0.6.14 | + +## Providers + +| Name | Version | +|------|---------| +| [libvirt](#provider\_libvirt) | 0.6.14 | + +## Modules + +No modules. + +## Resources + +| Name | Type | +|------|------| +| [libvirt_cloudinit_disk.volume_cloudinit](https://registry.terraform.io/providers/dmacvicar/libvirt/0.6.14/docs/resources/cloudinit_disk) | resource | + +## Inputs + +| Name | Description | Type | Default | Required | +|------|-------------|------|---------|:--------:| +| [name](#input\_name) | n/a | `string` | n/a | yes | +| [pool](#input\_pool) | n/a | `string` | `"default"` | no | +| [userdata](#input\_userdata) | n/a | `string` | `""` | no | + +## Outputs + +| Name | Description | +|------|-------------| +| [volume](#output\_volume) | n/a | + \ No newline at end of file diff --git a/docs/virt_flavor.md b/docs/virt_flavor.md new file mode 100644 index 0000000..c51b0cd --- /dev/null +++ b/docs/virt_flavor.md @@ -0,0 +1,32 @@ + +## Requirements + +No requirements. + +## Providers + +No providers. + +## Modules + +No modules. + +## Resources + +No resources. + +## Inputs + +| Name | Description | Type | Default | Required | +|------|-------------|------|---------|:--------:| +| [flavor](#input\_flavor) | The flavor to use | `string` | `"small"` | no | + +## Outputs + +| Name | Description | +|------|-------------| +| [cpu](#output\_cpu) | n/a | +| [disk](#output\_disk) | n/a | +| [flavor](#output\_flavor) | n/a | +| [ram](#output\_ram) | n/a | + \ No newline at end of file diff --git a/docs/virt_flavor__templates.md b/docs/virt_flavor__templates.md new file mode 100644 index 0000000..ef2fa69 --- /dev/null +++ b/docs/virt_flavor__templates.md @@ -0,0 +1,25 @@ + +## Requirements + +No requirements. + +## Providers + +No providers. + +## Modules + +No modules. + +## Resources + +No resources. + +## Inputs + +No inputs. + +## Outputs + +No outputs. + \ No newline at end of file diff --git a/docs/virt_images.md b/docs/virt_images.md new file mode 100644 index 0000000..aebd585 --- /dev/null +++ b/docs/virt_images.md @@ -0,0 +1,33 @@ + +## Requirements + +No requirements. + +## Providers + +No providers. + +## Modules + +| Name | Source | Version | +|------|--------|---------| +| [volumes](#module\_volumes) | ../virt_volumes | n/a | + +## Resources + +No resources. + +## Inputs + +| Name | Description | Type | Default | Required | +|------|-------------|------|---------|:--------:| +| [images](#input\_images) | Images definitions | `any` | `{}` | no | +| [images\_defaults](#input\_images\_defaults) | Images default definitions | `map` |
{
"pool": "default"
} | no |
+
+## Outputs
+
+| Name | Description |
+|------|-------------|
+| [images](#output\_images) | n/a |
+| [volumes](#output\_volumes) | n/a |
+
\ No newline at end of file
diff --git a/docs/virt_instance.md b/docs/virt_instance.md
new file mode 100644
index 0000000..e5d2d4d
--- /dev/null
+++ b/docs/virt_instance.md
@@ -0,0 +1,67 @@
+
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [ansible](#requirement\_ansible) | ~>1.0.4 |
+| [libvirt](#requirement\_libvirt) | 0.6.14 |
+
+## Providers
+
+| Name | Version |
+|------|---------|
+| [ansible](#provider\_ansible) | ~>1.0.4 |
+| [libvirt](#provider\_libvirt) | 0.6.14 |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [system\_flavor](#module\_system\_flavor) | ../../modules/virt_flavor | n/a |
+| [system\_os](#module\_system\_os) | ../../modules/virt_os | n/a |
+| [volume\_cloudinit](#module\_volume\_cloudinit) | ../virt_cloudinit | n/a |
+| [volume\_os](#module\_volume\_os) | ../virt_volume | n/a |
+| [volumes\_extra](#module\_volumes\_extra) | ../virt_volumes | n/a |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [ansible_host.ansible_def](https://registry.terraform.io/providers/nbering/ansible/latest/docs/resources/host) | resource |
+| [libvirt_domain.instdef](https://registry.terraform.io/providers/dmacvicar/libvirt/0.6.14/docs/resources/domain) | resource |
+
+## Inputs
+
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [authorized\_key](#input\_authorized\_key) | Default user authorized key | `string` | `""` | no |
+| [disk\_gb](#input\_disk\_gb) | Size in gb of the root disk | `number` | `2` | no |
+| [disks](#input\_disks) | Ephemeral disks list | `list` | `[]` | no |
+| [domain](#input\_domain) | Instance domain | `string` | `""` | no |
+| [flavor](#input\_flavor) | Instance flavor | `string` | `"x-small"` | no |
+| [images\_pool](#input\_images\_pool) | Default image pool | `string` | `"default"` | no |
+| [instance\_pool](#input\_instance\_pool) | Volume pool for instance disks | `string` | `"default"` | no |
+| [memory](#input\_memory) | Instance memory | `string` | `"2048"` | no |
+| [metadata](#input\_metadata) | Metadata do add in state | `any` | `{}` | no |
+| [name](#input\_name) | Instance name | `string` | n/a | yes |
+| [name\_fqdn](#input\_name\_fqdn) | Define instance name with fqdn | `bool` | `false` | no |
+| [name\_prefix](#input\_name\_prefix) | Define instance name with project prefix | `bool` | `true` | no |
+| [networks](#input\_networks) | Network list | `list` | `[]` | no |
+| [number](#input\_number) | Number of instances | `number` | `1` | no |
+| [password\_hash](#input\_password\_hash) | Default user password hash (ie: $1$SaltSalt$GhE887kYCerthShgxern00) | `string` | `""` | no |
+| [prefix](#input\_prefix) | String to prefix each instances | `string` | `""` | no |
+| [user](#input\_user) | Default user login | `string` | `"cloud"` | no |
+| [vcpu](#input\_vcpu) | Number of vcpu | `number` | `2` | no |
+| [volumes](#input\_volumes) | Persistant volume list | `list` | `[]` | no |
+| [wait\_for\_lease](#input\_wait\_for\_lease) | Wait for network ip assignment | `bool` | `false` | no |
+
+## Outputs
+
+| Name | Description |
+|------|-------------|
+| [instance](#output\_instance) | n/a |
+| [system\_flavor](#output\_system\_flavor) | n/a |
+| [system\_os](#output\_system\_os) | Tag infos |
+| [volume\_os](#output\_volume\_os) | output "volume\_cloudinit" { value = module.volume\_cloudinit } |
+| [volumes\_extra](#output\_volumes\_extra) | n/a |
+
\ No newline at end of file
diff --git a/docs/virt_instances.md b/docs/virt_instances.md
new file mode 100644
index 0000000..cf741ce
--- /dev/null
+++ b/docs/virt_instances.md
@@ -0,0 +1,34 @@
+
+## Requirements
+
+No requirements.
+
+## Providers
+
+No providers.
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [virt\_instances](#module\_virt\_instances) | ../../modules/virt_instance | n/a |
+
+## Resources
+
+No resources.
+
+## Inputs
+
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [instances](#input\_instances) | Instances definitions | `any` | `[]` | no |
+| [instances\_defaults](#input\_instances\_defaults) | Instances default definitions | `any` | `{}` | no |
+| [networks](#input\_networks) | Known networks to find domain | `any` | `{}` | no |
+| [tenant](#input\_tenant) | Tenant informations | `any` | {
"prefix": ""
} | no |
+
+## Outputs
+
+| Name | Description |
+|------|-------------|
+| [instances](#output\_instances) | Outputs ===================== |
+
\ No newline at end of file
diff --git a/docs/virt_namespace.md b/docs/virt_namespace.md
new file mode 100644
index 0000000..84a4594
--- /dev/null
+++ b/docs/virt_namespace.md
@@ -0,0 +1,42 @@
+
+## Requirements
+
+No requirements.
+
+## Providers
+
+No providers.
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [cloud\_images](#module\_cloud\_images) | ../virt_images | n/a |
+| [cloud\_instances](#module\_cloud\_instances) | ../virt_instances | n/a |
+| [cloud\_networks](#module\_cloud\_networks) | ../virt_networks | n/a |
+| [cloud\_pools](#module\_cloud\_pools) | ../virt_pools | n/a |
+| [cloud\_volumes](#module\_cloud\_volumes) | ../virt_volumes | n/a |
+
+## Resources
+
+No resources.
+
+## Inputs
+
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [cloud](#input\_cloud) | Cloud informations | `any` | `{}` | no |
+| [deploy](#input\_deploy) | Deployments configuration | `map` | `{}` | no |
+| [stack](#input\_stack) | Deployment options | `any` | `{}` | no |
+| [tenant](#input\_tenant) | Tenant informations | `any` | `{}` | no |
+
+## Outputs
+
+| Name | Description |
+|------|-------------|
+| [cloud\_images](#output\_cloud\_images) | n/a |
+| [cloud\_instances](#output\_cloud\_instances) | n/a |
+| [cloud\_networks](#output\_cloud\_networks) | n/a |
+| [cloud\_pools](#output\_cloud\_pools) | n/a |
+| [cloud\_volumes](#output\_cloud\_volumes) | n/a |
+
\ No newline at end of file
diff --git a/docs/virt_network.md b/docs/virt_network.md
new file mode 100644
index 0000000..109e346
--- /dev/null
+++ b/docs/virt_network.md
@@ -0,0 +1,47 @@
+
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [libvirt](#requirement\_libvirt) | 0.6.14 |
+
+## Providers
+
+| Name | Version |
+|------|---------|
+| [libvirt](#provider\_libvirt) | 0.6.14 |
+
+## Modules
+
+No modules.
+
+## Resources
+
+| Name | Type |
+|------|------|
+| libvirt_network.netdef | resource |
+
+## Inputs
+
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [bridge](#input\_bridge) | Network interface name (16 char max, virbr\_) | `string` | n/a | yes |
+| [domain](#input\_domain) | Network domain | `string` | `"local"` | no |
+| [gw4](#input\_gw4) | Network address | `string` | `"192.168.0.1"` | no |
+| [mask](#input\_mask) | Netmask of the network | `number` | `24` | no |
+| [mode](#input\_mode) | Network mode (route\|nat) | `string` | `"nat"` | no |
+| [name](#input\_name) | Network name | `string` | n/a | yes |
+| [nat\_device](#input\_nat\_device) | Device to forward unrouted traffic (ie: eth0) | `string` | `"enp1s0"` | no |
+| [nat\_driver](#input\_nat\_driver) | Default NAT driver | `string` | `"ferm"` | no |
+| [nat\_enable](#input\_nat\_enable) | Enable NAT from outside of libvirt | `bool` | `false` | no |
+| [subnets](#input\_subnets) | List of subnets | `list` | `[]` | no |
+| [vip](#input\_vip) | List of vips | `list` | `[]` | no |
+
+## Outputs
+
+| Name | Description |
+|------|-------------|
+| [networks](#output\_networks) | n/a |
+| [subnets](#output\_subnets) | n/a |
+| [vips](#output\_vips) | n/a |
+
\ No newline at end of file
diff --git a/docs/virt_network__templates.md b/docs/virt_network__templates.md
new file mode 100644
index 0000000..ef2fa69
--- /dev/null
+++ b/docs/virt_network__templates.md
@@ -0,0 +1,25 @@
+
+## Requirements
+
+No requirements.
+
+## Providers
+
+No providers.
+
+## Modules
+
+No modules.
+
+## Resources
+
+No resources.
+
+## Inputs
+
+No inputs.
+
+## Outputs
+
+No outputs.
+
\ No newline at end of file
diff --git a/docs/virt_networks.md b/docs/virt_networks.md
new file mode 100644
index 0000000..4c0c2ef
--- /dev/null
+++ b/docs/virt_networks.md
@@ -0,0 +1,33 @@
+
+## Requirements
+
+No requirements.
+
+## Providers
+
+No providers.
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [cloud\_networks](#module\_cloud\_networks) | ../../modules/virt_network | n/a |
+
+## Resources
+
+No resources.
+
+## Inputs
+
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [networks](#input\_networks) | Networks definitions | `any` | `{}` | no |
+| [networks\_defaults](#input\_networks\_defaults) | Network default definitions | `any` | `{}` | no |
+| [tenant](#input\_tenant) | Tenant informations | `any` | {
"prefix": ""
} | no |
+
+## Outputs
+
+| Name | Description |
+|------|-------------|
+| [networks](#output\_networks) | n/a |
+
\ No newline at end of file
diff --git a/docs/virt_os.md b/docs/virt_os.md
new file mode 100644
index 0000000..20ce696
--- /dev/null
+++ b/docs/virt_os.md
@@ -0,0 +1,41 @@
+
+## Requirements
+
+No requirements.
+
+## Providers
+
+No providers.
+
+## Modules
+
+No modules.
+
+## Resources
+
+No resources.
+
+## Inputs
+
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [authorized\_key](#input\_authorized\_key) | n/a | `string` | `""` | no |
+| [cloud\_init](#input\_cloud\_init) | Override system cloud\_init | `string` | `""` | no |
+| [cloud\_init\_vars](#input\_cloud\_init\_vars) | Override cloud init vars | `map` | `{}` | no |
+| [domain](#input\_domain) | n/a | `string` | `"nodomain"` | no |
+| [hostname](#input\_hostname) | n/a | `string` | `"noname"` | no |
+| [os\_name](#input\_os\_name) | The name of the operating system to create | `string` | `"ubuntu"` | no |
+| [os\_version](#input\_os\_version) | The version of the operationg system to use | `string` | `"latest"` | no |
+| [password\_hash](#input\_password\_hash) | n/a | `string` | `""` | no |
+| [user](#input\_user) | n/a | `string` | `"cloud"` | no |
+
+## Outputs
+
+| Name | Description |
+|------|-------------|
+| [cloud\_init](#output\_cloud\_init) | n/a |
+| [distro](#output\_distro) | n/a |
+| [os](#output\_os) | n/a |
+| [template](#output\_template) | n/a |
+| [template\_vars](#output\_template\_vars) | n/a |
+
\ No newline at end of file
diff --git a/docs/virt_os__templates.md b/docs/virt_os__templates.md
new file mode 100644
index 0000000..ef2fa69
--- /dev/null
+++ b/docs/virt_os__templates.md
@@ -0,0 +1,25 @@
+
+## Requirements
+
+No requirements.
+
+## Providers
+
+No providers.
+
+## Modules
+
+No modules.
+
+## Resources
+
+No resources.
+
+## Inputs
+
+No inputs.
+
+## Outputs
+
+No outputs.
+
\ No newline at end of file
diff --git a/docs/virt_pools.md b/docs/virt_pools.md
new file mode 100644
index 0000000..9689bba
--- /dev/null
+++ b/docs/virt_pools.md
@@ -0,0 +1,37 @@
+
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [libvirt](#requirement\_libvirt) | 0.6.14 |
+
+## Providers
+
+| Name | Version |
+|------|---------|
+| [libvirt](#provider\_libvirt) | 0.6.14 |
+
+## Modules
+
+No modules.
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [libvirt_pool.pooldef](https://registry.terraform.io/providers/dmacvicar/libvirt/0.6.14/docs/resources/pool) | resource |
+
+## Inputs
+
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [pools](#input\_pools) | Pools definitions | `any` | `{}` | no |
+| [pools\_defaults](#input\_pools\_defaults) | Pools default definitions | `any` | `{}` | no |
+| [tenant](#input\_tenant) | Tenant informations | `any` | {
"prefix": ""
} | no |
+
+## Outputs
+
+| Name | Description |
+|------|-------------|
+| [pools](#output\_pools) | n/a |
+
\ No newline at end of file
diff --git a/docs/virt_volume.md b/docs/virt_volume.md
new file mode 100644
index 0000000..4842655
--- /dev/null
+++ b/docs/virt_volume.md
@@ -0,0 +1,50 @@
+
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [libvirt](#requirement\_libvirt) | 0.6.14 |
+
+## Providers
+
+| Name | Version |
+|------|---------|
+| [libvirt](#provider\_libvirt) | 0.6.14 |
+| [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 |
+|------|-------------|------|---------|:--------:|
+| [base\_file](#input\_base\_file) | Name of the source image | `string` | `""` | no |
+| [base\_pool](#input\_base\_pool) | Pool of the source image | `string` | `"default"` | no |
+| [file](#input\_file) | Determine the filename of the volume | `string` | `""` | no |
+| [format](#input\_format) | Determine the format of the image | `string` | `"qcow2"` | no |
+| [name](#input\_name) | Determine the name of the volume | `string` | n/a | yes |
+| [persistant](#input\_persistant) | Enable destroy protection on this volume | `bool` | `false` | no |
+| [pool](#input\_pool) | Determine pool to create volume within | `string` | `"default"` | no |
+| [pool\_dir](#input\_pool\_dir) | Default path for all pools | `string` | `"/virt"` | no |
+| [size\_gb](#input\_size\_gb) | Default size for the volume | `number` | `0` | no |
+| [ssh\_conn](#input\_ssh\_conn) | Default settings for ssh connexion | `any` | {
"agent": true,
"host": "wks1.office.barbu-it.net",
"password": null,
"user": null
} | no |
+| [url](#input\_url) | Download url for volume | `string` | `""` | no |
+
+## Outputs
+
+| Name | Description |
+|------|-------------|
+| [info](#output\_info) | n/a |
+| [volume](#output\_volume) | n/a |
+
\ No newline at end of file
diff --git a/docs/virt_volumes.md b/docs/virt_volumes.md
new file mode 100644
index 0000000..1d7ef0c
--- /dev/null
+++ b/docs/virt_volumes.md
@@ -0,0 +1,33 @@
+
+## Requirements
+
+No requirements.
+
+## Providers
+
+No providers.
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [cloud\_volume](#module\_cloud\_volume) | ../virt_volume | n/a |
+
+## Resources
+
+No resources.
+
+## Inputs
+
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [tenant](#input\_tenant) | Tenant informations | `map` | {
"prefix": ""
} | no |
+| [volumes](#input\_volumes) | List of volumes | `list(any)` | `[]` | no |
+| [volumes\_defaults](#input\_volumes\_defaults) | Default settings for volumes | `map` | `{}` | no |
+
+## Outputs
+
+| Name | Description |
+|------|-------------|
+| [volumes](#output\_volumes) | n/a |
+
\ No newline at end of file
diff --git a/docs/virt_volumes__modules.md b/docs/virt_volumes__modules.md
new file mode 100644
index 0000000..ef2fa69
--- /dev/null
+++ b/docs/virt_volumes__modules.md
@@ -0,0 +1,25 @@
+
+## Requirements
+
+No requirements.
+
+## Providers
+
+No providers.
+
+## Modules
+
+No modules.
+
+## Resources
+
+No resources.
+
+## Inputs
+
+No inputs.
+
+## Outputs
+
+No outputs.
+
\ No newline at end of file