Skip to content

Commit

Permalink
Merge pull request #8 from data-platform-hq/feat/workspace-id-output
Browse files Browse the repository at this point in the history
feat: workspace id output
  • Loading branch information
owlleg6 authored Sep 25, 2024
2 parents 0eff343 + c2098e4 commit 412aaea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ No modules.

| Name | Description |
|------|-------------|
| <a name="output_id"></a> [id](#output\_id) | The Log Analytics Workspace ID |
| <a name="output_id"></a> [id](#output\_id) | The Log Analytics Resource ID |
| <a name="output_name"></a> [name](#output\_name) | The Log Analytics Workspace Name |
| <a name="output_name_to_id_map"></a> [name\_to\_id\_map](#output\_name\_to\_id\_map) | Map of Log Analytics Workspace Name to Id |
| <a name="output_primary_shared_key"></a> [primary\_shared\_key](#output\_primary\_shared\_key) | The Primary shared key for the Log Analytics Workspace |
| <a name="output_workspace_id"></a> [workspace\_id](#output\_workspace\_id) | The Log Analytics Workspace ID |
<!-- END_TF_DOCS -->

## License
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
output "id" {
value = azurerm_log_analytics_workspace.this.id
description = "The Log Analytics Resource ID"
}

output "workspace_id" {
value = azurerm_log_analytics_workspace.this.workspace_id
description = "The Log Analytics Workspace ID"
}

Expand Down

0 comments on commit 412aaea

Please sign in to comment.