PutSubscriptionFilter and PassedToService

0

I need to call PutSubscriptionFilter for a Firehose data stream. I created my role that trusts the logs.amazonaws.com service and allows it to put records. There is a permission boundary on my user that has a condition on iam:PassedToService to restrict iam:PassRole to a few AWS services but logs.amazonaws.com is included. When I call PutSubscriptionFilter I get User: my-user is not authorized to perform: iam:PassRole on resource: my-role-arn because no permissions boundary allows the iam:PassRole action. I add every possible service as {service}.amazonaws.com and {service}.{region}.amazonaws.com but the results are always the same. I looked at the error in CloudTrail. I read every bit of documentation. I asked to Q. I can only put the subscription filter if I completely remove the condition on iam:PassedToService from the permission boundary policy. Must I add a different service? or logs is just not supported by iam:PassedToService/logs:PutSubscriptionFilter?

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠