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"
         }
      }

      Terraform language logo
      azurerm_dns_txt_record

      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

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.