diagnostic-settings

claranet/diagnostic-settings/azurerm

Terraform Module HCL AZURERM

Fork of the terraform-azurerm-diagnostic-settings module with Claranet's contributions and improvements.

Install
module "diagnostic-settings" {
source = "claranet/diagnostic-settings/azurerm"
version = "8.2.2"
}
plain text: /constructs/tfmod-claranet-diagnostic-settings-azurerm/install.txt
⭐ Source on GitHub 📦 Registry page
README

Azure Diagnostic Settings ![Changelog](CHANGELOG.md) ![Notice](NOTICE) ![Apache V2 License](LICENSE) ![OpenTofu Registry](https://search.opentofu.org/module/claranet/diagnostic-settings/azurerm/) 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 |

Inputs (9)
NameTypeDescriptionDefault
resource_idstringThe ID of the resource on which activate the diagnostic settings. required
logs_destinations_idslist(string)List of destination resources IDs for logs diagnostic destination. Can be `Stora required
log_categorieslist(string)List of log categories. Defaults to all available.null
log_analytics_destination_typestringWhen set to 'Dedicated' logs sent to a Log Analytics workspace will go into reso"Dedicated"
name_prefixstringOptional prefix for the generated name.""
name_suffixstringOptional suffix for the generated name.""
custom_namestringName of the diagnostic settings, generated if empty.""
excluded_log_categorieslist(string)List of log categories to exclude.[]
metric_categorieslist(string)List of metric categories. Defaults to all available.null
Outputs (2)
id — ID of the Diagnostic Settings.
resource — Diagnostic settings resource output.
Resources (1)
azurerm_monitor_diagnostic_setting
Details
FrameworkTerraform Module
LanguageHCL
Version8.2.2
Cloud AZURERM
★ Stars2
Forks10
Total downloads1.4M
Inputs9
Outputs2
Resources1
Examples1
LicenseApache-2.0
Namespaceclaranet
Updated