christianlempa-boilerplates/terraform/cloudflare/dns.tf

13 lines
310 B
Terraform
Raw Normal View History

2022-03-04 17:45:04 +01:00
# 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
}