Skip to content

Commit 39c8489

Browse files
PRMT-466- trying another list format
1 parent d0ebb22 commit 39c8489

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

infrastructure/sqs_alarms.tf

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,11 @@ locals {
4747
# }
4848

4949
# using a list instead of map
50+
5051
monitored_queue_day_list = flatten([
5152
for queue_key in keys(local.monitored_queues) : [
52-
for day in local.days_until_alarm : [
53-
queue_key,
54-
local.monitored_queues[queue_key],
55-
day
56-
]
53+
for day in local.days_until_alarm :
54+
[queue_key, local.monitored_queues[queue_key], day]
5755
]
5856
])
5957
}

0 commit comments

Comments
 (0)