Skip to content

Commit

Permalink
fix: Ran terraform fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
13archit committed Jun 13, 2023
1 parent e8cc9b3 commit f65ecda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ data "azurerm_resources" "aks_lb" {
resource "azurerm_monitor_diagnostic_setting" "aks-lb" {
depends_on = [data.azurerm_resources.aks_lb, azurerm_kubernetes_cluster.aks]
count = var.enabled && var.diagnostic_setting_enable && var.private_cluster_enabled == true ? length(data.azurerm_resources.aks_lb[0].resources) : 0
name = format("%s-kubernetes-load-balancer-diagnostic-log-%d", module.labels.id,count.index)
name = format("%s-kubernetes-load-balancer-diagnostic-log-%d", module.labels.id, count.index)
target_resource_id = data.azurerm_resources.aks_lb[0].resources[count.index].id
storage_account_id = var.storage_account_id
eventhub_name = var.eventhub_name
Expand Down

0 comments on commit f65ecda

Please sign in to comment.