Files
terraform-cloudflare-tunnel…/gateway.tf
Hubert Cornet b1b59e48b3
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 21s
Update gateway.tf
2025-11-14 17:50:50 +01:00

57 lines
1.5 KiB
HCL

# =============================================================================
# CLOUDFLARE : Gateway : Firewall policies
# =============================================================================
#
# =============================================================================
# CLOUDFLARE : Gateway : Egress policies
# =============================================================================
#
# =============================================================================
# CLOUDFLARE : Gateway : Resolver policies
# =============================================================================
#
# =============================================================================
# CLOUDFLARE : Gateway : DNS locations
# =============================================================================
#
resource "cloudflare_zero_trust_dns_location" "example_zero_trust_dns_location" {
account_id = local.cloudflare_account_id
name = "Austin 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 = "10.0.1.1/32"
}]
}