You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add custom domain + managed TLS certificate support
- variables.tf: add custom_domain variable (optional, default '')
- main.tf: split locals into aca_fqdn + app_fqdn (prefers custom domain),
add azurerm_container_app_environment_managed_certificate and
azurerm_container_app_custom_domain resources (count-gated on custom_domain)
- outputs.tf: add aca_fqdn output; existing outputs already use app_fqdn
- deploy workflow: add TF_VAR_custom_domain from SHARING_CUSTOM_DOMAIN var,
add import step that detects portal-created resources and imports them into
Terraform state before plan (idempotent — skips if already managed)
- GitHub env var SHARING_CUSTOM_DOMAIN=ai-fluency-server-test.devopsjournal.io
set for testing environment
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
description="Optional: custom domain to bind to the container app (e.g. sharing.example.com). Leave empty to use the ACA-generated FQDN."
55
+
type=string
56
+
default=""
57
+
}
58
+
53
59
variable"min_replicas" {
54
60
description="Minimum container replicas. Must be 1 for SQLite on Azure Files — scale-to-zero causes stale SMB oplocks that block DB startup. Scale-to-zero (0) is only safe if you accept occasional lock errors on cold start."
0 commit comments