0
0
llucycodes42
The following code creates a new azurerm_dns_aaaa_record resource and sets its name, zone_name, resource_group_name, and ttl to be "example-name", "test.name", and "300". The code then creates an array containing two records, each of which has the name "example-name" and the zone_name "test.name".
Shortcut: tf_azurerm_dns_aaaa_record
resource "azurerm_dns_aaaa_record" "${MyResource}" {
name = "example-name"
zone_name = "\${azurerm_dns_zone.test.name}"
resource_group_name = "\${azurerm_resource_group.test.name}"
ttl = "300"
records = ["2607:f8b0:4009:1803::1005"]
}