resource "azurerm_dns_ns_record" "${MyResource}" {
         name = "example-name"
         zone_name = "\${azurerm_dns_zone.test.name}"
         resource_group_name = "\${azurerm_resource_group.test.name}"
         ttl = "300"
      
         record {
             nsdname = "ns1.contoso.com"
         }
      
         record {
             nsdname = "ns2.contoso.com"
         }
      }
      Terraform language logo

      azurerm_dns_ns_record

      0

      0

      avatar
      lucycodes42
      Terraform snippets

      The code creates two DNS records with the name "example-name" and "ns1.contoso.com" for the zone "test.name" in the resource group "test.name". The record ttl is set to 300 seconds.

      Shortcut: tf_azurerm_dns_ns_record

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.