Skip to content

Commit

Permalink
Merge pull request #2 from data-platform-hq/outputs-parameter-addition
Browse files Browse the repository at this point in the history
feat: outputs-parameter-addition
  • Loading branch information
owlleg6 authored Nov 1, 2022
2 parents 40ab5cc + 34fe877 commit d5a3596
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ No modules.

## Outputs

| Name | Description |
|------|-------------|
| Name | Description |
|----------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------|
| <a name="output_log_analytics_primary_shared_key"></a> [log\_analytics\_primary\_shared\_key](#output\_log\_analytics\_primary\_shared\_key) | The Primary shared key for the Log Analytics Workspace |
| <a name="output_log_analytics_workspace_id"></a> [log\_analytics\_workspace\_id](#output\_log\_analytics\_workspace\_id) | The Log Analytics Workspace ID |
| <a name="output_log_analytics_workspace_id"></a> [log\_analytics\_workspace\_id](#output\_log\_analytics\_workspace\_id) | The Log Analytics Workspace ID |
| <a name="output_name_to_id_map"></a> [name\_to\_id\_map](#output\_name\_to\_id\_map) | Map of Virtual Network Name to Id |
<!-- END_TF_DOCS -->

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

output "log_analytics_primary_shared_key" {
value = azurerm_log_analytics_workspace.this.primary_shared_key
description = "The Primary shared key for the Log Analytics Workspace"
}
output "log_analytics_workspace_id" {
value = azurerm_log_analytics_workspace.this.id
description = "The Log Analytics Workspace ID"
}

output "log_analytics_primary_shared_key" {
value = azurerm_log_analytics_workspace.this.primary_shared_key
description = "The Primary shared key for the Log Analytics Workspace"
}

output "name_to_id_map" {
value = { (azurerm_log_analytics_workspace.this.name) = azurerm_log_analytics_workspace.this.id }
description = "Map of Virtual Network Name to Id"
}

0 comments on commit d5a3596

Please sign in to comment.