mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-22 16:23: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
|
|
}
|