Update gateway_dns_location.tf
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 13s

This commit is contained in:
2025-11-17 20:07:53 +01:00
parent e14f5670cb
commit fa5e218375

View File

@@ -8,15 +8,6 @@ resource "cloudflare_zero_trust_dns_location" "dns_location_office" {
name = "Office Location" name = "Office Location"
client_default = false client_default = false
ecs_support = false ecs_support = false
}
#
resource "cloudflare_zero_trust_dns_location" "dns_location_home" {
account_id = local.cloudflare_account_id
name = "Home Location"
client_default = false
# dns_destination_ips_id = "0e4a32c6-6fb8-4858-9296-98f51631e8e6"
ecs_support = false
endpoints = { endpoints = {
doh = { doh = {
enabled = true enabled = true
@@ -46,10 +37,164 @@ resource "cloudflare_zero_trust_dns_location" "dns_location_home" {
}] }]
} }
#
resource "cloudflare_zero_trust_dns_location" "dns_location_home" {
account_id = local.cloudflare_account_id
name = "Home Location"
client_default = false
# dns_destination_ips_id = "0e4a32c6-6fb8-4858-9296-98f51631e8e6"
ecs_support = true
endpoints = {
doh = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
require_token = true
}
dot = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
}
}
}
# #
resource "cloudflare_zero_trust_dns_location" "dns_location_vacation" { resource "cloudflare_zero_trust_dns_location" "dns_location_vacation" {
account_id = local.cloudflare_account_id account_id = local.cloudflare_account_id
name = "Vacation Location" name = "Vacation Location"
client_default = false client_default = false
ecs_support = false ecs_support = true
endpoints = {
doh = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
require_token = true
}
dot = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
}
}
}
#
resource "cloudflare_zero_trust_dns_location" "dns_location_datacenter" {
account_id = local.cloudflare_account_id
name = "Datacenter Location"
client_default = false
ecs_support = true
endpoints = {
doh = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
require_token = true
}
dot = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
}
}
}
#
resource "cloudflare_zero_trust_dns_location" "dns_location_GCP" {
account_id = local.cloudflare_account_id
name = "GCP Location"
client_default = false
ecs_support = true
endpoints = {
doh = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
require_token = true
}
dot = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
}
}
}
#
resource "cloudflare_zero_trust_dns_location" "dns_location_azure" {
account_id = local.cloudflare_account_id
name = "Azure Location"
client_default = false
ecs_support = true
endpoints = {
doh = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
require_token = true
}
dot = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
}
}
}
#
resource "cloudflare_zero_trust_dns_location" "dns_location_ovh" {
account_id = local.cloudflare_account_id
name = "OVH Location"
client_default = false
ecs_support = true
endpoints = {
doh = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
require_token = true
}
dot = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
}
}
}
#
resource "cloudflare_zero_trust_dns_location" "dns_location_aws" {
account_id = local.cloudflare_account_id
name = "AWS Location"
client_default = false
ecs_support = true
endpoints = {
doh = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
require_token = true
}
dot = {
enabled = true
networks = [{
network = "2001:85a3::/64"
}]
}
}
} }