AWS Logs Put-Subscription-Filter AccessDeniedException: Cross-account Role Not Allowed
The error message "Cross-account role passing is not allowed" indicates that you're attempting to create a subscription filter in AWS CloudWatch Logs using an IAM role from a different account than where the logs reside. This is not permitted. To resolve this issue, consider these options: 1. Utilize an IAM role within the same AWS account as the CloudWatch Logs. Ensure the role has permissions to create a subscription filter. 2. If creating a subscription filter in another AWS account, employ an IAM role from that specific account. Verify the role possesses the necessary permissions. 3. If you lack access to the target AWS account, collaborate with the account owner or administrator for permission grants or filter creation. Remember to review and verify the IAM permissions and roles you use to ensure they have appropriate access for the intended actions.
原文地址: https://www.cveoy.top/t/topic/pv9y 著作权归作者所有。请勿转载和采集!