update file output.tf
All checks were successful
Terraform Apply / Terraform Apply (push) Successful in 4m48s
All checks were successful
Terraform Apply / Terraform Apply (push) Successful in 4m48s
This commit is contained in:
38
outputs.tf
38
outputs.tf
@@ -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
|
||||
# }
|
||||
# }
|
||||
#}
|
||||
Reference in New Issue
Block a user