Skip to content

Commit 883cd6a

Browse files
committed
add a kinesis trust relationship... even though it didn't fix the problem
1 parent 0944368 commit 883cd6a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

iam_pipes.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,16 @@ data "aws_iam_policy_document" "assume_role_pipe" {
338338
values = ["arn:aws:pipes:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:pipe/${each.value.Name}"]
339339
}
340340
}
341+
342+
statement {
343+
effect = "Allow"
344+
actions = ["sts:AssumeRole"]
345+
346+
principals {
347+
type = "Service"
348+
identifiers = ["kinesis.${data.aws_partition.current.dns_suffix}"]
349+
}
350+
}
341351
}
342352

343353
resource "aws_iam_role" "eventbridge_pipe" {

0 commit comments

Comments
 (0)