Update gateway_policy.tf
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 12s

This commit is contained in:
2025-11-17 15:00:53 +01:00
parent 86f6775e6a
commit ddaa197046

View File

@@ -57,7 +57,7 @@ resource "cloudflare_zero_trust_gateway_policy" "block_ads" {
locals { locals {
# The full path of the list holding the domain list # The full path of the list holding the domain list
ads_domain_list_file = "${path.module}/lists/pihole_domain_list.txt" ads_domain_list_file = fileset("${path.module}/lists/pihole_domain_list.txt", "*.txt")
# Parse the file and create a list, one item per line # Parse the file and create a list, one item per line
ads_domain_list = split("\n", file(local.ads_domain_list_file)) ads_domain_list = split("\n", file(local.ads_domain_list_file))