File tree 4 files changed +25
-25
lines changed
4 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 16
16
17
17
# Labels for action/labeler
18
18
19
- area/kubernetes :
20
- - kubernetes/*
21
- - kubernetes/**/*
22
-
23
- area/gcp :
24
- - iac/gcp/*
25
- - iac/gcp/**/*
19
+ area/terraform :
20
+ - adot/*.tf
21
+ - amg/*.tf
22
+ - amp/*.tf
23
+ - cloudwatch/*.tf
24
+ - grafana/*.tf
25
+ - loki/*.tf
26
+ - mimir/*.tf
27
+ - mimir/*.tf
28
+ - prometheus/*.tf
29
+ - tempo/*.tf
26
30
27
31
area/aws :
28
32
- iac/aws/*
29
33
- iac/aws/**/*
30
34
31
- area/azure :
32
- - iac/azure/*
33
- - iac/azure/**/*
34
-
35
35
kind/documentation :
36
- - docs/*
37
- - docs/ **/*
36
+ - README.md
37
+ - " **/*.md "
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ data "aws_iam_policy_document" "bucket" {
26
26
]
27
27
28
28
# tfsec:ignore:aws-iam-no-policy-wildcards
29
- resources = [
30
- module . buckets_data [* ]. s3_bucket_arn ,
31
- " ${ module . buckets_data [* ]. s3_bucket_arn } /* "
32
- ]
29
+ resources = concat (
30
+ [ for b in toset (local . buckets_names ) : module . buckets_data [b ]. s3_bucket_arn ] ,
31
+ [ for b in toset (local . buckets_names ) : format ( " %s/* " , module. buckets_data [b ]. s3_bucket_arn )]
32
+ )
33
33
}
34
34
35
35
dynamic "statement" {
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ data "aws_iam_policy_document" "bucket" {
26
26
]
27
27
28
28
# tfsec:ignore:aws-iam-no-policy-wildcards
29
- resources = [
30
- module . buckets_data [* ]. s3_bucket_arn ,
31
- " ${ module . buckets_data [* ]. s3_bucket_arn } /* "
32
- ]
29
+ resources = concat (
30
+ [ for b in toset (local . buckets_names ) : module . buckets_data [b ]. s3_bucket_arn ] ,
31
+ [ for b in toset (local . buckets_names ) : format ( " %s/* " , module. buckets_data [b ]. s3_bucket_arn )]
32
+ )
33
33
}
34
34
35
35
dynamic "statement" {
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ data "aws_iam_policy_document" "bucket" {
28
28
]
29
29
30
30
# tfsec:ignore:aws-iam-no-policy-wildcards
31
- resources = [
32
- module . buckets_data [* ]. s3_bucket_arn ,
33
- " ${ module . buckets_data [* ]. s3_bucket_arn } /* "
34
- ]
31
+ resources = concat (
32
+ [ for b in toset (local . buckets_names ) : module . buckets_data [b ]. s3_bucket_arn ] ,
33
+ [ for b in toset (local . buckets_names ) : format ( " %s/* " , module. buckets_data [b ]. s3_bucket_arn )]
34
+ )
35
35
}
36
36
37
37
dynamic "statement" {
You can’t perform that action at this time.
0 commit comments