From 52e2a39923ca8ba43f10b6df7c752d91059a5aef Mon Sep 17 00:00:00 2001 From: Alexander Kharkevich Date: Wed, 4 Jan 2023 19:48:03 -0500 Subject: [PATCH] fix: fix output --- outputs.tf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/outputs.tf b/outputs.tf index fc4e182..c83233d 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,29 +1,29 @@ output "id" { - value = azurerm_static_site.this.id + value = azurerm_static_site.this.id description = "The ID of the Static Site." } output "api_key" { - value = azurerm_static_site.this.api_key + value = azurerm_static_site.this.api_key description = "The API Key of the Static Site." } output "default_host_name" { - value = azurerm_static_site.this.default_host_name + value = azurerm_static_site.this.default_host_name description = "The Default Host Name of the Static Site." } output "identity" { - value = azurerm_static_site.this.identity[*] + value = azurerm_static_site.this.identity[*] description = "The Managed Identity of the Static Site." } output "custom_domain_id" { - value = azurerm_static_site_custom_domain.this[*].id + value = azurerm_static_site_custom_domain.this[*].id description = "The ID of the Custom Domain." } output "validation_token" { - value = azurerm_static_site_custom_domain.this[*].validation_token + value = var.validation_type == "dns-txt-token" ? azurerm_static_site_custom_domain.this[*].validation_token : null description = "The Validation Token of the Custom Domain." }