azurerm_dns_txt_record

    0

    0

    lucycodes42

    Terraform snippets

    The azurerm_dns_txt_record resource defines two DNS records. The first record is for the example-name zone and has the value google-site-authenticator. The second record is for the more site information here zone and has the value more site information here. The record's ttl value is set to 300 seconds, which means that the record will expire in 300 seconds.

    Shortcut: tf_azurerm_dns_txt_record

    resource "azurerm_dns_txt_record" "${MyResource}" {
       name = "example-name"
       zone_name = "\${azurerm_dns_zone.test.name}"
       resource_group_name = "\${azurerm_resource_group.test.name}"
       ttl = "300"
    
       record {
           value = "google-site-authenticator"
       }
    
       record {
           value = "more site information here"
       }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.