mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-28 11:13:26 +01:00
13 lines
310 B
Terraform
13 lines
310 B
Terraform
|
# 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
|
||
|
}
|