powerdns_record

    0

    0

    lucycodes42

    Terraform snippets

    This code creates a powerdns_record resource with the name "my-description-${myResourceName}" and sets its zone to "example.com." The resource also has the type of A and the default TTL of 300 seconds. It specifies that the records for the myResourceName resource should be stored at the 192.168.0.11 IP address.

    Shortcut: tf_powerdns_record

    resource "powerdns_record" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
    
       zone = "example.com."
       type = "A"
       ttl = 300
       records = ["192.168.0.11"]
    }
    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.