update file output.tf
All checks were successful
Terraform Apply / Terraform Apply (push) Successful in 4m48s

This commit is contained in:
2025-11-20 10:44:35 +01:00
parent 8ce4e23513
commit e0dc8fa584

View File

@@ -22,13 +22,13 @@ output "tunnel_token" {
# APPLICATIONS OUTPUTS
# =============================================================================
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}.${local.cloudflare_zone_id}"
}
}
#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}.${local.cloudflare_zone_id}"
# }
#}
output "applications_dns_records" {
description = "IDs des enregistrements DNS créés"
@@ -38,15 +38,15 @@ output "applications_dns_records" {
}
}
output "applications_details" {
description = "Détails de toutes les applications configurées"
value = {
for app_name, app_config in var.applications :
app_name => {
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
}
}
}
#output "applications_details" {
# description = "Détails de toutes les applications configurées"
# value = {
# for app_name, app_config in var.applications :
# app_name => {
# 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
# }
# }
#}