Skip to content

Commit

Permalink
Add name output; add output descriptions (patch)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukiffer committed Jun 15, 2020
1 parent 818714d commit dea8ced
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions modules/log-analytics-workspace/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
output "id" {
value = azurerm_log_analytics_workspace.workspace.id
output "name" {
description = "The name of the Log Analytics workspace."
value = azurerm_log_analytics_workspace.workspace.name
}

output "workspace_id" {
value = azurerm_log_analytics_workspace.workspace.workspace_id
output "id" {
description = "The ID of the Log Analytics workspace."
value = azurerm_log_analytics_workspace.workspace.id
}

output "portal_url" {
value = azurerm_log_analytics_workspace.workspace.portal_url
description = "The Portal URL for the Log Analytics workspace."
value = azurerm_log_analytics_workspace.workspace.portal_url
}

output "primary_shared_key" {
value = azurerm_log_analytics_workspace.workspace.primary_shared_key
description = "The primary shared key for accessing and managing the Log Analytics workspace."
value = azurerm_log_analytics_workspace.workspace.primary_shared_key
sensitive = true
}

output "secondary_shared_key" {
value = azurerm_log_analytics_workspace.workspace.secondary_shared_key
description = "The secondary shared key for accessing and managing the Log Analytics workspace."
value = azurerm_log_analytics_workspace.workspace.secondary_shared_key
sensitive = true
}

0 comments on commit dea8ced

Please sign in to comment.