97 lines
2.1 KiB
Markdown
97 lines
2.1 KiB
Markdown
## Requirements
|
|
|
|
The following requirements are needed by this module:
|
|
|
|
- <a name="requirement_dns"></a> [dns](#requirement\_dns) (~> 3.2)
|
|
|
|
## Providers
|
|
|
|
The following providers are used by this module:
|
|
|
|
- <a name="provider_dns"></a> [dns](#provider\_dns) (~> 3.2)
|
|
|
|
## Modules
|
|
|
|
No modules.
|
|
|
|
## Resources
|
|
|
|
The following resources are used by this module:
|
|
|
|
- [dns_a_record_set.this](https://registry.terraform.io/providers/hashicorp/dns/latest/docs/resources/a_record_set) (resource)
|
|
- [dns_ptr_record.this](https://registry.terraform.io/providers/hashicorp/dns/latest/docs/resources/ptr_record) (resource)
|
|
|
|
## Required Inputs
|
|
|
|
The following input variables are required:
|
|
|
|
### <a name="input_id"></a> [id](#input\_id)
|
|
|
|
Description: The ID for the VM that will be transposed into an IP address
|
|
|
|
Type: `number`
|
|
|
|
### <a name="input_interface"></a> [interface](#input\_interface)
|
|
|
|
Description: Which interface should be used. Can be either nat or internal
|
|
|
|
Type: `string`
|
|
|
|
### <a name="input_name"></a> [name](#input\_name)
|
|
|
|
Description: The domain name for the vm
|
|
|
|
Type: `string`
|
|
|
|
## Optional Inputs
|
|
|
|
The following input variables are optional (have default values):
|
|
|
|
### <a name="input_ttl"></a> [ttl](#input\_ttl)
|
|
|
|
Description: TTL value for the new records
|
|
|
|
Type: `number`
|
|
|
|
Default: `300`
|
|
|
|
## Outputs
|
|
|
|
The following outputs are exported:
|
|
|
|
### <a name="output_cidr"></a> [cidr](#output\_cidr)
|
|
|
|
Description: n/a
|
|
|
|
### <a name="output_fqdn"></a> [fqdn](#output\_fqdn)
|
|
|
|
Description: n/a
|
|
|
|
### <a name="output_gateway"></a> [gateway](#output\_gateway)
|
|
|
|
Description: n/a
|
|
|
|
### <a name="output_interface"></a> [interface](#output\_interface)
|
|
|
|
Description: n/a
|
|
|
|
### <a name="output_ip_address"></a> [ip\_address](#output\_ip\_address)
|
|
|
|
Description: n/a
|
|
|
|
### <a name="output_lawndale_interface"></a> [lawndale\_interface](#output\_lawndale\_interface)
|
|
|
|
Description: n/a
|
|
|
|
### <a name="output_name"></a> [name](#output\_name)
|
|
|
|
Description: n/a
|
|
|
|
### <a name="output_nameserver"></a> [nameserver](#output\_nameserver)
|
|
|
|
Description: n/a
|
|
|
|
### <a name="output_search_domains"></a> [search\_domains](#output\_search\_domains)
|
|
|
|
Description: n/a
|