Skip to content

Commit

Permalink
Merge pull request #9 from geekcell/fix-cost-filter
Browse files Browse the repository at this point in the history
fix: Cost Filter Problems
  • Loading branch information
ckappen authored Jan 30, 2024
2 parents c8b5d29 + 0d26841 commit 8ad09e6
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 @@ -31,7 +31,7 @@ resource "aws_budgets_budget" "main" {
time_period_end = each.value.time_period_end

dynamic "cost_filter" {
for_each = each.value.cost_filter == null ? [] : [each.value.cost_filter]
for_each = each.value.cost_filter == null ? {} : each.value.cost_filter
content {
name = cost_filter.key
values = cost_filter.value
Expand Down

0 comments on commit 8ad09e6

Please sign in to comment.