diagnostic-settings
claranet/diagnostic-settings/azurerm
Fork of the terraform-azurerm-diagnostic-settings module with Claranet's contributions and improvements.
Azure Diagnostic Settings     This module is based on work from Innovation Norway. This Terraform enables the Diagnostic Settings on a given Azure resource. Note for EventHub usage in destination If you want to specify an Azure EventHub to send logs and metrics to in logs_destinations_ids, you need to provide a formated string with both the EventHub Namespace authorization send ID and the EventHub name (name of the queue to use in the Namespace) separated by the | character. Please refer to the example below for a detailed implementation. Global versioning rule for Claranet Azure modules | Module version | Terraform version |
| Name | Type | Description | Default |
|---|---|---|---|
| resource_id | string | The ID of the resource on which activate the diagnostic settings. | required |
| logs_destinations_ids | list(string) | List of destination resources IDs for logs diagnostic destination. Can be `Stora | required |
| log_categories | list(string) | List of log categories. Defaults to all available. | null |
| log_analytics_destination_type | string | When set to 'Dedicated' logs sent to a Log Analytics workspace will go into reso | "Dedicated" |
| name_prefix | string | Optional prefix for the generated name. | "" |
| name_suffix | string | Optional suffix for the generated name. | "" |
| custom_name | string | Name of the diagnostic settings, generated if empty. | "" |
| excluded_log_categories | list(string) | List of log categories to exclude. | [] |
| metric_categories | list(string) | List of metric categories. Defaults to all available. | null |
id — ID of the Diagnostic Settings.resource — Diagnostic settings resource output.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,