We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a93523 commit e68d09dCopy full SHA for e68d09d
iam_pipes.tf
@@ -60,7 +60,16 @@ locals {
60
matching_services = ["batch"]
61
},
62
logs = {
63
- values = [v.target],
+ 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
+ ]),
73
matching_services = ["logs"]
74
75
ecs = {
0 commit comments