This Terraform module optimizes the setup and administration of private dns zones, ensuring secure and confidential name resolution for azure services. It offers adaptable configuration options to enhance network security and streamline service connectivity.
The main objective is to create a more logic data structure, achieved by combining and grouping related resources together in a complex object.
The structure of the module promotes reusability. It's intended to be a repeatable component, simplifying the process of building diverse workloads and platform accelerators consistently.
A primary goal is to utilize keys and values in the object that correspond to the REST API's structure. This enables us to carry out iterations, increasing its practical value as time goes on.
A last key goal is to separate logic from configuration in the module, thereby enhancing its scalability, ease of customization, and manageability.
These modules are not intended to be complete, ready-to-use solutions; they are designed as components for creating your own patterns.
They are not tailored for a single use case but are meant to be versatile and applicable to a range of scenarios.
Security standardization is applied at the pattern level, while the modules include default values based on best practices but do not enforce specific security standards.
End-to-end testing is not conducted on these modules, as they are individual components and do not undergo the extensive testing reserved for complete patterns or solutions.
- support the deployment of multiple private and public dns zones.
- enables the creation of multiple A, SRV, Alias, MX, and TXT records within each zone.
- utilization of terratest for robust validation.
- allows multiple virtual network links per private dns zone.
- provides support for utilizing existing private dns zones.
- support for pre defined zone deployment
Name | Version |
---|---|
terraform | ~> 1.0 |
azurerm | ~> 4.0 |
Name | Version |
---|---|
azurerm | ~> 4.0 |
Name | Type |
---|---|
azurerm_dns_a_record.a | resource |
azurerm_dns_aaaa_record.aaaa | resource |
azurerm_dns_caa_record.caa | resource |
azurerm_dns_cname_record.cname | resource |
azurerm_dns_ns_record.ns | resource |
azurerm_dns_ptr_record.ptr | resource |
azurerm_dns_srv_record.srv | resource |
azurerm_dns_txt_record.txt | resource |
azurerm_dns_zone.this | resource |
azurerm_private_dns_a_record.a | resource |
azurerm_private_dns_cname_record.cname | resource |
azurerm_private_dns_mx_record.mx | resource |
azurerm_private_dns_ptr_record.ptr | resource |
azurerm_private_dns_srv_record.srv | resource |
azurerm_private_dns_txt_record.txt | resource |
azurerm_private_dns_zone.zone | resource |
azurerm_private_dns_zone_virtual_network_link.link | resource |
azurerm_private_dns_zone.existing_zone | data source |
Name | Description | Required |
---|---|---|
predefined_private_dns_zones | predefined private dns zones for azure services | no |
resource_group | default resource group to be used. | no |
tags | tags to be added to the resources | no |
zones | contains private dns zones configuration | yes |
Name | Description |
---|---|
private_zones | Contains all private DNS zones (new, existing, and predefined) |
public_zones | Contains all public DNS zones |
For more information, please see our testing guidelines
Using a dedicated module, we've developed a naming convention for resources that's based on specific regular expressions for each type, ensuring correct abbreviations and offering flexibility with multiple prefixes and suffixes.
Full examples detailing all usages, along with integrations with dependency modules, are located in the examples directory.
To update the module's documentation run make doc
Module is maintained by these awesome contributors.
We welcome contributions from the community! Whether it's reporting a bug, suggesting a new feature, or submitting a pull request, your input is highly valued.
For more information, please see our contribution guidelines.
MIT Licensed. See LICENSE for full details.