christianlempa-boilerplates/terraform/cloudflare/dns.tf
2022-03-04 17:45:04 +01:00

13 lines
310 B
HCL

# Cloudflare DNS
# ---
# Templates to manage DNS Records on Cloudflare
# A Record
resource "cloudflare_record" "your-dns-record-name" {
zone_id = "your-zone-id"
name = "your-public-dns-value"
value = "your-public-ip-address"
type = "A"
proxied = false # set to true, to hide public IP
}