From 18fe3be6f12bf03cefb1492ebfeed0c19d64dc01 Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Tue, 16 Aug 2022 01:49:03 -0400 Subject: [PATCH] Add CNAMES and security precedence --- ahoskingit/terraform/cloudflare_access.tf | 2 +- ahoskingit/terraform/variables.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ahoskingit/terraform/cloudflare_access.tf b/ahoskingit/terraform/cloudflare_access.tf index e59d65b..8ec516a 100644 --- a/ahoskingit/terraform/cloudflare_access.tf +++ b/ahoskingit/terraform/cloudflare_access.tf @@ -36,7 +36,7 @@ resource "cloudflare_access_policy" "money" { application_id = cloudflare_access_application.money.id zone_id = cloudflare_zone.ahosking_com.id name = "family" - precedence = "1" + precedence = "2" decision = "allow" include { diff --git a/ahoskingit/terraform/variables.tf b/ahoskingit/terraform/variables.tf index 9a9d3f3..5d7d6cb 100644 --- a/ahoskingit/terraform/variables.tf +++ b/ahoskingit/terraform/variables.tf @@ -38,5 +38,5 @@ variable "environment" {} variable "ahosking_com_cnames" { default = ["code", "radarr", "sonarr", "ombi", "git", "monitors", "tv", "movies", "money", "cycles", "minecraft", - "homeassistant"] + "homeassistant", "status", "bills"] }