Files
terraform-cloudflare-tunnel…/gateway_dns_location.tf
Hubert Cornet de2dfd08f7
All checks were successful
Terraform Apply / Terraform Apply (push) Successful in 32s
Update gateway_dns_location.tf
2025-11-17 11:19:40 +01:00

39 lines
924 B
HCL

# =============================================================================
# CLOUDFLARE : Gateway : DNS location
# =============================================================================
#
resource "cloudflare_zero_trust_dns_location" "example_zero_trust_dns_location" {
account_id = local.cloudflare_account_id
name = "Home Office Location"
client_default = false
# dns_destination_ips_id = "0e4a32c6-6fb8-4858-9296-98f51631e8e6"
ecs_support = false
endpoints = {
doh = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
require_token = true
}
dot = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
}
ipv4 = {
enabled = true
}
ipv6 = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
}
}
networks = [{
network = "82.66.77.254/32"
}]
}