networking/domain_name_registrations¶
Overview¶
This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.
Dependency diagram (Mermaid)¶
graph TD
azurerm_management_lock.lock_domain["azurerm_management_lock.lock_domain"]
azurerm_resource_group_template_deployment.domain["azurerm_resource_group_template_deployment.domain"]
random_string.domain_zone_name["random_string.domain_zone_name"]
azurerm_management_lock.lock_domain --> azurerm_resource_group_template_deployment.domain
Module Reference¶
Category: networking
Path: modules/networking/domain_name_registrations
Azure Resources: azurerm_management_lock, azurerm_resource_group_template_deployment, random_string
Inputs¶
| Name | Description | Type | Required | Default | Validation |
|---|---|---|---|---|---|
"resource_group_name" |
any |
yes | - |
- | |
"settings" |
"The settings for the Azure resource." | any |
yes | - |
- |
"base_tags" |
any |
yes | - |
- | |
"dns_zone_id" |
"Resource ID of the Azure DNS global zone." | any |
no | "" |
- |
"targetDnsType" |
"Target DNS type (would be used for migration). - AzureDns or DefaultDomainRegistrarDns. Set a value if this is a new... | any |
no | "DefaultDomainRegistrarDns" |
- |
"existingDnsType" |
"Target DNS type (would be used to migrate from). - AzureDns or DefaultDomainRegistrarDns. Set to '' if this is a new... | any |
no | "" |
- |
"name" |
"Name of the domain to purchase. When set to '' a random name is generated (recommended for CI)." | any |
no | "" |
- |
Outputs¶
| Name | Description | Sensitive | Value |
|---|---|---|---|
"dns_domain_registration_name" |
"DNS domain name purchased" | - | local.dns_domain_name |
"dns_domain_registration_id" |
"DNS domain name resource ID" | - | jsondecode(azurerm_resource_group_template_deployment.domain.output_content).id.value |
Sources¶
modules/networking/domain_name_registrations/local_domain_registrations.tfmodules/networking/domain_name_registrations/locals.tfmodules/networking/domain_name_registrations/main.tfmodules/networking/domain_name_registrations/module.tfmodules/networking/domain_name_registrations/outputs.tfmodules/networking/domain_name_registrations/variables.tf