0
0
llucycodes42
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"]
}