Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
paolosalvatori committed Jun 6, 2023
1 parent 2fbe897 commit bea47da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion diagnosticsetting.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "azurerm_monitor_diagnostic_setting" "setting" {
for_each = var.diagnostic_setting
for_each = var.diagnostic_setting

name = each.value.name
target_resource_id = azurerm_cognitive_account.this.id
Expand Down
18 changes: 9 additions & 9 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -219,15 +219,15 @@ variable "storage" {

variable "diagnostic_setting" {
type = map(object({
name = string
log_analytics_workspace_id = optional(string)
log_analytics_destination_type = optional(string)
eventhub_name = optional(string)
eventhub_authorization_rule_id = optional(string)
storage_account_id = optional(string)
partner_solution_id = optional(string)
retention_policy_enabled = optional(bool, true)
retention_policy_days = optional(number, 30)
name = string
log_analytics_workspace_id = optional(string)
log_analytics_destination_type = optional(string)
eventhub_name = optional(string)
eventhub_authorization_rule_id = optional(string)
storage_account_id = optional(string)
partner_solution_id = optional(string)
retention_policy_enabled = optional(bool, true)
retention_policy_days = optional(number, 30)
}))
default = {}
description = <<-DESCRIPTION
Expand Down

0 comments on commit bea47da

Please sign in to comment.