mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-24 17:24:25 +01:00
13 lines
310 B
HCL
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
|
|
}
|