Skip to content

Commit e902247

Browse files
authored
fix: fixed bug where global deny target service details could potentially be missing consumer customizations (#489)
1 parent 8108e45 commit e902247

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/fscloud/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ locals {
287287
target_service_name => []
288288
}
289289

290-
global_deny_target_service_details = { for target_service_name, attributes in var.target_service_details :
291-
target_service_name => attributes if attributes.global_deny == true
290+
global_deny_target_service_details = { for target_service_name, attributes in local.target_service_details :
291+
target_service_name => attributes if try(attributes.global_deny, false) == true
292292
}
293293

294294

0 commit comments

Comments
 (0)