resource "dnsimple_record" "${myResourceName}" {
name = "my-${myResourceName}"
description = "my-description-${myResourceName}"
# Add a record to the root domain
domain = "\${var.dnsimple_domain}"
name = "
value = "192.168.0.11"
type = "A"
ttl = 3600
}
dnsimple_record
In the code above, the resource named "dnsimple_record" is created with the following definition:
name = "my-${myResourceName}"
description = "my-description-${myResourceName}"
In addition, a record is added to the root domain with the following definition:
domain = "${var.dnsimple_domain}"
name = "
value = "192.168.0.
Shortcut: tf_dnsimple_record
0 Comments
Add Comment
Log in to add a comment