From a73cfabde4dea6a7953b75a43c6d7a7f7ee2d66c Mon Sep 17 00:00:00 2001 From: Deepanshu Marwah Date: Thu, 20 Aug 2020 15:12:54 +0800 Subject: [PATCH] QSE-80: Add workspace ID in ouputs (patch) --- modules/log-analytics-workspace/outputs.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/log-analytics-workspace/outputs.tf b/modules/log-analytics-workspace/outputs.tf index 1b03e04..c1de896 100644 --- a/modules/log-analytics-workspace/outputs.tf +++ b/modules/log-analytics-workspace/outputs.tf @@ -8,6 +8,11 @@ output "id" { value = azurerm_log_analytics_workspace.workspace.id } +output "workspace_id" { + description = "The workspace or customer ID of the Log Analytics workspace." + value = azurerm_log_analytics_workspace.workspace.workspace_id +} + output "portal_url" { description = "The Portal URL for the Log Analytics workspace." value = azurerm_log_analytics_workspace.workspace.portal_url