amplify-hosting icon indicating copy to clipboard operation
amplify-hosting copied to clipboard

Layer packaging failed but Build still "succeeded" causing outage

Open hisham opened this issue 3 years ago • 0 comments

Before opening, please confirm:

App Id

d2d6ty1wlg8jch

Region

us-east-1

Amplify Hosting feature

Backend builds

Describe the bug

I triggered a build, and an outage occured with one of our Lambdas not able to find packages that are installed via a Lambda Layer.

Looking at the build logs I see this error that seems to be the cause. AWS Amplify console however continued with the build, marked it as successful, and deployed it, causing an outage in our system. We rolled back to previous build and the outage was resolved.

AWS Amplify console 2022-09-15 13-45-30

Expected behavior

The build should have failed, preventing an incorrect deployment.

Reproduction steps

Seems like there was a temp network issue which caused this.

Build Settings

I don't think this is relevant.

Additional information

No response

hisham avatar Sep 15 '22 19:09 hisham