This commit is contained in:
@@ -26,7 +26,7 @@ output "applications_urls" {
|
||||
description = "URLs publiques de toutes les applications"
|
||||
value = {
|
||||
for app_name, app_config in var.applications :
|
||||
app_name => "https://${app_config.subdomain}.${var.cloudflare_zone_id}"
|
||||
app_name => "https://${app_config.subdomain}.${local.cloudflare_zone_id}"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ output "applications_details" {
|
||||
value = {
|
||||
for app_name, app_config in var.applications :
|
||||
app_name => {
|
||||
public_url = "https://${app_config.subdomain}.${var.cloudflare_zone}"
|
||||
public_url = "https://${app_config.subdomain}.${local.cloudflare_zone_id}"
|
||||
origin_url = app_config.origin_url
|
||||
access_enabled = app_config.access_enabled
|
||||
dns_record_id = cloudflare_dns_record.applications[app_name].id
|
||||
|
||||
Reference in New Issue
Block a user