Skip to content

Commit 5d1e5bc

Browse files
rajbosCopilot
andcommitted
fix: use subject_name instead of dns_suffix for managed certificate
AzureRM provider uses subject_name, not dns_suffix. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 63fd046 commit 5d1e5bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sharing-server/infra/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ resource "azurerm_container_app_environment_managed_certificate" "this" {
191191
count = var.custom_domain != "" ? 1 : 0
192192
name = "sharing-cert"
193193
container_app_environment_id = azurerm_container_app_environment.this.id
194-
dns_suffix = var.custom_domain
194+
subject_name = var.custom_domain
195195
domain_control_validation = "CNAME"
196196
}
197197

0 commit comments

Comments
 (0)