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 # APPLICATIONS OUTPUTS
# ============================================================================= # =============================================================================
output "applications_urls" { #output "applications_urls" {
description = "URLs publiques de toutes les applications" # description = "URLs publiques de toutes les applications"
value = { # value = {
for app_name, app_config in var.applications : # for app_name, app_config in var.applications :
app_name => "https://${app_config.subdomain}.${local.cloudflare_zone_id}" # app_name => "https://${app_config.subdomain}.${local.cloudflare_zone_id}"
} # }
} #}
output "applications_dns_records" { output "applications_dns_records" {
description = "IDs des enregistrements DNS créés" description = "IDs des enregistrements DNS créés"
@@ -38,15 +38,15 @@ output "applications_dns_records" {
} }
} }
output "applications_details" { #output "applications_details" {
description = "Détails de toutes les applications configurées" # description = "Détails de toutes les applications configurées"
value = { # value = {
for app_name, app_config in var.applications : # for app_name, app_config in var.applications :
app_name => { # app_name => {
public_url = "https://${app_config.subdomain}.${local.cloudflare_zone_id}" # public_url = "https://${app_config.subdomain}.${local.cloudflare_zone_id}"
origin_url = app_config.origin_url # origin_url = app_config.origin_url
access_enabled = app_config.access_enabled # access_enabled = app_config.access_enabled
dns_record_id = cloudflare_dns_record.applications[app_name].id # dns_record_id = cloudflare_dns_record.applications[app_name].id
} # }
} # }
} #}