Whitespace updates

This commit is contained in:
Alexander Hosking 2022-08-16 01:41:51 -04:00
parent a3b8b89a3b
commit b13c0abc15

View File

@ -37,6 +37,9 @@ resource "cloudflare_access_policy" "money" {
name = "family" name = "family"
precedence = "1" precedence = "1"
decision = "allow" decision = "allow"
http_only_cookie_attribute = true
include { include {
email_domain = ["@ahosking.com"] email_domain = ["@ahosking.com"]
} }
@ -67,19 +70,21 @@ resource "cloudflare_access_application" "tv" {
] ]
} }
resource "cloudflare_access_application" "period" { resource "cloudflare_access_application" "cycles" {
account_id = var.CLOUDFLARE_ACCOUNT_ID account_id = var.CLOUDFLARE_ACCOUNT_ID
name = "period" name = "cycles"
domain = "period.ahosking.com" domain = "cycles.ahosking.com"
type = "self_hosted" type = "self_hosted"
session_duration = "336h" session_duration = "336h"
allowed_idps = [ allowed_idps = [
"f27ba272-b676-4ab0-b560-e4ea52b19f18", #TODO: Remove Manual Entry "f27ba272-b676-4ab0-b560-e4ea52b19f18", #TODO: Remove Manual Entry
] ]
http_only_cookie_attribute = true
} }
resource "cloudflare_access_policy" "period" { resource "cloudflare_access_policy" "cycles" {
application_id = cloudflare_access_application.period.id application_id = cloudflare_access_application.cycles.id
zone_id = cloudflare_zone.ahosking_com.id zone_id = cloudflare_zone.ahosking_com.id
name = "family" name = "family"
precedence = "1" precedence = "1"