https://github.com/libre-devops/terraform-azurerm-log-analytics-solution
A module used to deploy a log analytics solution. Please note, some of the solutions are no longer being maintained :fire:
https://github.com/libre-devops/terraform-azurerm-log-analytics-solution
azurerm azurerm-terraform-provider module terraform terraform-module
Last synced: 2 months ago
JSON representation
A module used to deploy a log analytics solution. Please note, some of the solutions are no longer being maintained :fire:
- Host: GitHub
- URL: https://github.com/libre-devops/terraform-azurerm-log-analytics-solution
- Owner: libre-devops
- License: mit
- Created: 2022-05-13T19:37:31.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-14T00:06:29.000Z (almost 3 years ago)
- Last Synced: 2024-12-26T16:12:12.771Z (4 months ago)
- Topics: azurerm, azurerm-terraform-provider, module, terraform, terraform-module
- Language: HCL
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
```hcl
module "law" {
source = "registry.terraform.io/libre-devops/log-analytics-workspace/azurerm"rg_name = module.rg.rg_name
location = module.rg.rg_location
tags = module.rg.rg_tagscreate_new_workspace = true
law_name = "law-${var.short}-${var.loc}-${terraform.workspace}-01"
law_sku = "PerNode"
retention_in_days = "30"
daily_quota_gb = "0.5"
internet_ingestion_enabled = false
internet_query_enabled = false
}module "law_solution" {
source = "registry.terraform.io/libre-devops/log-analytics-solution/azurerm"rg_name = module.rg.rg_name
location = module.rg.rg_location
tags = module.rg.rg_tagssolution_name = "ContainerInsights"
law_workspace_id = module.law.law_workspace_id
law_name = module.law.law_namesettings = {
plan = {
publisher = "Microsoft"
product = "OMSGallery/ContainerInsights"
}
}
}
```## Requirements
No requirements.
## Providers
| Name | Version |
|------|---------|
| [azurerm](#provider\_azurerm) | n/a |## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [azurerm_log_analytics_solution.law_solution](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/log_analytics_solution) | resource |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [law\_name](#input\_law\_name) | The name of the log analytics workspace | `string` | n/a | yes |
| [law\_workspace\_id](#input\_law\_workspace\_id) | The workspace\_id of the log analytics workspace | `string` | n/a | yes |
| [location](#input\_location) | The location for this resource to be put in | `string` | n/a | yes |
| [plan](#input\_plan) | The plan you wish to build the solution for | `map(any)` | n/a | yes |
| [rg\_name](#input\_rg\_name) | The name of the resource group, this module does not create a resource group, it is expecting the value of a resource group already exists | `string` | n/a | yes |
| [solution\_name](#input\_solution\_name) | The name of the log analytics solution | `string` | n/a | yes |
| [tags](#input\_tags) | A map of the tags to use on the resources that are deployed with this module. | `map(string)` |{| no |
"source": "terraform"
}## Outputs
| Name | Description |
|------|-------------|
| [law\_solution\_id](#output\_law\_solution\_id) | The ID of the log analytics workspace |
| [law\_solution\_name](#output\_law\_solution\_name) | The name of the solution |
| [law\_solution\_plan](#output\_law\_solution\_plan) | The plan block of the solution plan |