resource "cloudflare_record" "${MyResource}" {
domain = "cloudflare_domain"
name = "terraform"
value = "192.168.0.11"
type = "A"
ttl = 3600
}
cloudflare_record
Terraform snippetsThis code creates a CloudFlare record that points to the IP address 192.168.0.11. The record's domain is cloudflare_domain, and the record's name is "terraform." The record's value is "192.168.0.11," and the record's type is "A." The record's TTL is 3600 seconds.
Shortcut: tf_cloudflare_record
0 Comments
Add Comment
Log in to add a comment