Terraform module to create a KVM network via libvirt.
Examples:
| Name | Version |
|---|---|
| terraform | >= 1.10.0 |
| libvirt | ~> 0.8.1 |
| Name | Version |
|---|---|
| libvirt | ~> 0.8.1 |
No modules.
| Name | Type |
|---|---|
| libvirt_network.this | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| dns_enabled | If disabled, no dns will be setup for this network and dns configuration will be ignored | bool |
true |
no |
| dns_local_only | true: DNS requests under this domain will only be resolved by the virtual network's own DNS server. false: Unresolved requests will be forwarded to the host's upstream DNS server if the virtual network's DNS server does not have an answer. | bool |
true |
no |
| libvirt_uri | The URI to connect to the libvirt daemon | string |
"qemu:///session" |
no |
| network_addresses | A list of subnets in CIDR notation | list(any) |
n/a | yes |
| network_autostart | Start the network on host boot up | bool |
true |
no |
| network_domain | The domain used by the DNS server | string |
n/a | yes |
| network_mode | The mode of the network. Possible modes: nat (Default), none, route, open, bridge | string |
n/a | yes |
| network_name | The name of the network | string |
n/a | yes |
No outputs.