diff --git a/terraform/modules/zero_trust_application/main.tf b/terraform/modules/zero_trust_application/main.tf index b74c47e..5aa8899 100644 --- a/terraform/modules/zero_trust_application/main.tf +++ b/terraform/modules/zero_trust_application/main.tf @@ -1,7 +1,7 @@ resource "cloudflare_access_policy" "github-app-policy" { - account_id = var.cloudflare_api_key - name = "github-auth" - decision = "allow" + zone_id = var.cloudflare_zone_id + name = "github-auth" + decision = "allow" include { group = ["dc009146-1f84-4d2c-bbd4-670ee9d65d5d"]