terraform/quickstart/101-dns_zone
..
TestRecord.md
main.tf
outputs.tf
providers.tf
readme.md
variables.tf

readme.md

Azure DNS zone and A record

This template creates an Azure DNS zone and an 'A' record.

Terraform resource types

Variables

Name Description Default
resource_group_name_prefix Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. rg
resource_group_location Location of the resource group. eastus
dns_zone_name Name of the DNS zone. null
dns_ttl Time To Live (TTL) of the DNS record (in seconds). 3600
dns_records List of IPv4 addresses. ["1.2.3.4", "1.2.3.5"]

Example

To see how to run this example, see Create an Azure resource group using Terraform.