mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Merge branch 'main' into feature/get-task-by-source-id-and-service
This commit is contained in:
commit
2afbf05ce0
1 changed files with 4 additions and 3 deletions
|
|
@ -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}"]
|
||||||
|
)
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue