Skip to content

Commit 19aacdb

Browse files
authored
fix: Add role path to service aws_iam_policy (#155)
1 parent 35e250a commit 19aacdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

iam_pipes.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ resource "aws_iam_policy" "service" {
397397
for_each = { for k, v in local.role_for_pipes : k => v if try(v.attach_policies_for_integrations, true) }
398398

399399
name = "${aws_iam_role.eventbridge_pipe[each.key].name}-${each.key}"
400+
path = try(each.value.role_path, null)
400401
policy = data.aws_iam_policy_document.service[each.key].json
401402
}
402403

0 commit comments

Comments
 (0)