Skip to content

Commit fddf6ad

Browse files
authored
Merge branch 'terraform-aws-modules:master' into master
2 parents b4caba0 + c947f01 commit fddf6ad

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [3.14.1](https://github.com/terraform-aws-modules/terraform-aws-eventbridge/compare/v3.14.0...v3.14.1) (2025-01-08)
6+
7+
8+
### Bug Fixes
9+
10+
* Cloudwatch policy for pipes ([#140](https://github.com/terraform-aws-modules/terraform-aws-eventbridge/issues/140)) ([57626e4](https://github.com/terraform-aws-modules/terraform-aws-eventbridge/commit/57626e4826fee0fa3969d706aa54285f24b81bdd))
11+
512
## [3.14.0](https://github.com/terraform-aws-modules/terraform-aws-eventbridge/compare/v3.13.0...v3.14.0) (2025-01-07)
613

714

iam_pipes.tf

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,16 @@ locals {
6060
matching_services = ["batch"]
6161
},
6262
logs = {
63-
values = [v.target],
63+
values = flatten([
64+
"${v.target}:*",
65+
[
66+
for pipe in var.pipes : [
67+
for log_config in try([pipe.log_configuration], []) : [
68+
for cloudwatch_log in try([log_config.cloudwatch_logs_log_destination], []) : "${cloudwatch_log.log_group_arn}:*"
69+
]
70+
]
71+
]
72+
]),
6473
matching_services = ["logs"]
6574
},
6675
ecs = {

0 commit comments

Comments
 (0)