azurerm_dns_ns_record

    0

    0

    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

    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"
       }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.