From 224a7c00606ffe1b5b269cd004b69cda357040ec Mon Sep 17 00:00:00 2001 From: Robert Sturla Date: Tue, 1 Oct 2024 00:41:16 +0100 Subject: [PATCH] fix(cost-control): budgets cost filter not required (#46) * fix(cost-control): budgets cost filter shouldn't be a requried field * fix(cost-control): cost_filter default value is a list --- modules/aws/cost-control/budgets/variables.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/aws/cost-control/budgets/variables.tf b/modules/aws/cost-control/budgets/variables.tf index f9ec886..5630d5b 100644 --- a/modules/aws/cost-control/budgets/variables.tf +++ b/modules/aws/cost-control/budgets/variables.tf @@ -30,10 +30,10 @@ variable "budgets" { include_upfront = false use_blended = false }) - cost_filter = list(object({ + cost_filter = optional(list(object({ name = string values = list(string) - })) + })), []) tags = optional(map(string), {}) })) default = {}