I have updated from python3.9 runtime with to 3.11. For my pipeline I use an image based on python:3.11-alpine. I have aws-sam version 1.115.0 installed. I run integration test based on exported postman collections. The sam build inside pipeline succeeds. The sam local start api command also works. The first few requests to my lambda functions are successful. After that every request returns with 502 from the lambdas. From the pipelines docker sections I get this log, which I think is responsible for this issue:
level=error msg="AuthZRequest for GET /v1.35/distribution/public.ecr.aws/lambda/python:3.11-x86_64/json returned error: authorization denied by plugin pipelines: "
When I run the test locally everything works fine. I will really appreciate some input on solving this issue. Thanks.