Cloudformation - Lambda did not stabilise

0

Hello,

I am facing an issue where my cloudformation is failing to update my Lambda function, showing an error:

Resource handler returned message: "Resource of type 'AWS::Lambda::Function' with identifier '...' did not stabilize." (RequestToken: 520189e2-99cf-5407-db18-9f1cca71dc37, HandlerErrorCode: NotStabilized)

The final error looks to be very similar to this post by Keith, but unlike what Keith mentioned, my Lambda's image is only 1.26GB in size, so that should not trigger the SizeLimitExceeded problem. When I go to the Lambda function, I see the error below instead. I also tried granting ECR Full Access to the Lambda Role, but that did not help too.

Failed to restore the function ...: The function does not have permission to access the specified image.

What is weird for me is that the cloudformation worked via the same CI/CD process during a deployment made few weeks ago. I also have a few "duplicated cloudformations" serving different environments, and out of them one managed to deploy successfully with the same set of codes.

Appreciate if anyone else has some thoughts to share about this, thanks!

  • Could you share the function execution role assigned?

답변 없음

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

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

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

관련 콘텐츠