Skip to content

Commit

Permalink
Merge pull request #1934 from TjommeVergauwen/patch-1
Browse files Browse the repository at this point in the history
Fix: Data factory iteration for global_parameter
  • Loading branch information
arnaudlh authored Mar 14, 2024
2 parents ec505b3 + ac5968f commit e03117c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/data_factory/data_factory/module.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource "azurerm_data_factory" "df" {
}
}
dynamic "global_parameter" {
for_each = try(var.settings.global_parameter, null) != null ? [var.settings.global_parameter] : []
for_each = try(var.settings.global_parameter, null) != null ? var.settings.global_parameter : {}

content {
name = global_parameter.value.name
Expand Down

0 comments on commit e03117c

Please sign in to comment.