EventBridge PutEvent failing

0

I have a lambda function that is attempting to create an event (for EventBridge). The lambda executes under a role that has full EventBridge access.

The lambda is currently failing with the following error

2022-10-01T21:20:11.918Z 01544211-1978-414c-92d7-97f08fd94490 fail Amazon.EventBridge.AmazonEventBridgeException: User: arn:aws:sts::############:assumed-role/FCKM-lambda-standard/ClinMod_fileAdded is not authorized to perform: events:PutEvents on resource: arn:aws:events:eu-west-2:############:event-bus/model-etl because no identity-based policy allows the events:PutEvents action

The role has the AWS policy "AmazonEventBridgeFullAccess" added which includes

    {
        "Effect": "Allow",
        "Action": "events:*",
        "Resource": "*"
    },

Why is this failing?

1개 답변
0

Are the lambda function and the Eventbridge bus in the same AWS account?

profile pictureAWS
전문가
답변함 일 년 전

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

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

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