Skip to content

Commit 3a21594

Browse files
committed
remove the extra service assume role. not necessary.
1 parent 9e47a4b commit 3a21594

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

iam_pipes.tf

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

354344
resource "aws_iam_role" "eventbridge_pipe" {

0 commit comments

Comments
 (0)