From f0ef6dacad2141f1dd8c8c2e08fd08c4491fc924 Mon Sep 17 00:00:00 2001 From: Sven Sauleau Date: Tue, 10 Jan 2023 10:18:18 +0000 Subject: [PATCH] remove Access policy from terraform Since we expect users to manually change their Access policy from the dashboard, we can't track it in Terraform. --- tf/main.tf | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tf/main.tf b/tf/main.tf index 281db3a..5564bf7 100644 --- a/tf/main.tf +++ b/tf/main.tf @@ -120,15 +120,3 @@ resource "cloudflare_access_application" "wildebeest_access" { session_duration = "168h" auto_redirect_to_identity = false } - -resource "cloudflare_access_policy" "policy" { - application_id = cloudflare_access_application.wildebeest_access.id - account_id = var.cloudflare_account_id - name = "policy" - precedence = "1" - decision = "allow" - - include { - email = ["CHANGEME@example.com"] - } -}