From 4ba93437c9cf49180f0da8539929133b94a6af3f Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Tue, 16 Aug 2022 01:45:02 -0400 Subject: [PATCH] Correct http_cookie attribute --- ahoskingit/terraform/cloudflare_access.tf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ahoskingit/terraform/cloudflare_access.tf b/ahoskingit/terraform/cloudflare_access.tf index caae85f..e59d65b 100644 --- a/ahoskingit/terraform/cloudflare_access.tf +++ b/ahoskingit/terraform/cloudflare_access.tf @@ -29,6 +29,7 @@ resource "cloudflare_access_application" "money" { allowed_idps = [ "f27ba272-b676-4ab0-b560-e4ea52b19f18", #TODO: Remove Manual Entry ] + http_only_cookie_attribute = true } resource "cloudflare_access_policy" "money" { @@ -38,8 +39,6 @@ resource "cloudflare_access_policy" "money" { precedence = "1" decision = "allow" - http_only_cookie_attribute = true - include { email_domain = ["@ahosking.com"] }