From 8a7c65adfa822e1c884cc4aabbe565e8a4eec9b9 Mon Sep 17 00:00:00 2001 From: kovagoadam Date: Wed, 19 Nov 2025 16:44:54 +0100 Subject: [PATCH] Fix factory budget check with threshold_rules[*].percent (#3542) --- modules/billing-account/factory.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/billing-account/factory.tf b/modules/billing-account/factory.tf index 097627e43..343cfdca8 100644 --- a/modules/billing-account/factory.tf +++ b/modules/billing-account/factory.tf @@ -82,7 +82,7 @@ check "factory_budgets" { assert { condition = alltrue([ for k, v in local.factory_budgets : - v.threshold_rules == null || try(v.threshold_rules.percent, null) != null + v.threshold_rules == null || try(v.threshold_rules[*].percent, null) != null ]) error_message = "Threshold rules need percent set." }