s3 trigger configuration at an impasse

1

I have a lambda function in Python3.8 runtime deployed as a docker container via serverless application. I need an s3 trigger to initiate this lambda, which I created some time ago during the original deployment. I recently redeployed the function and now the trigger doesn't work, I cannot update it, I cannot create a new trigger to initiate the function, and I cannot delete the event notifications on the s3 bucket

This is the error I get when I try to create a new event notification on the s3 bucket:

Configuration is ambiguously defined. Cannot have overlapping suffixes in two rules if the prefixes are overlapping for the same event type.

When I try to delete the existing event notification, it does nothing. If I try to create an s3 trigger on the lambda I get this error:

An error occurred when creating the trigger: Configuration is ambiguously defined. Cannot have overlapping suffixes in two rules if the prefixes are overlapping for the same event type.

I removed the whole service via serverless and changed the name. When I tried to redeploy the function (under a new name) with the event defined in the serverless.yml, I got this deployment error:

Received response status [FAILED] from custom resource. Message returned: Unable to validate the following destination configurations 

How can I delete or update the existing resource so I can get this trigger working???

  • I am facing a similar issue. I created a lambda function to test the S3 trigger, deleted that function, and now am unable to re-create a trigger with the same rules.

    I get the following error: An error occurred when creating the trigger: Configuration is ambiguously defined. Cannot have overlapping suffixes in two rules if the prefixes are overlapping for the same event type.

답변 없음

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

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

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

관련 콘텐츠