feat(tf): let cloudflare-pages-project set the analytics hostname separately (#1967)

This commit is contained in:
Zack Pollard
2026-09-24 20:01:12 +01:00
committed by GitHub
parent 7d6260397b
commit 4eed58c517
2 changed files with 6 additions and 1 deletions
@@ -22,7 +22,7 @@ data "cloudflare_zone" "zone" {
module "domain" {
source = "../domain"
app_name = var.app_name
app_name = coalesce(var.analytics_app_name, var.app_name)
env = var.env
domain = var.domain
}
@@ -6,3 +6,8 @@ variable "app_name" {}
variable "domain" {
default = "immich.app"
}
# app_name for the analytics site's hostname (it only accepts beacons from that host), if different
variable "analytics_app_name" {
default = null
}