Update gateway_policy.tf
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 12s
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 12s
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user