Merge branch 'main' into feature/get-task-by-source-id-and-service

This commit is contained in:
Daniel Roth 2026-03-09 10:38:30 +00:00
commit 2afbf05ce0

View file

@ -2,9 +2,10 @@
locals { locals {
# Generate full resource ARNs by combining bucket ARNs with resource paths # Generate full resource ARNs by combining bucket ARNs with resource paths
resources = flatten([ resources = flatten([
for bucket_arn in var.bucket_arns : [ for bucket_arn in var.bucket_arns : concat(
for path in var.resource_paths : "${bucket_arn}${path}" [bucket_arn], # bare ARN for bucket-level actions like ListBucket
] [for path in var.resource_paths : "${bucket_arn}${path}"]
)
]) ])
} }