@gcpatil Looks like aws has changed something which is causing the build error, we use aws codebuild to deploy our serverless application. But all of a sudden it started failing since today it was working till last friday.
@ajk we use codebuild too, which will do the installs everytime. I did a test where my local didn’t had the upgraded packages. It worked fine on execution from local into my AWS account. I upgraded packages to the latest on local (nodejs version ofcourse varied between local and codebuild purely because codebuild does not support anything greater that 16.x) and it broke local too with the same issue. Some dependencies is breaking it. I have tried rolling back few versions and dependencies within aws sdk but so far I haven’t had any luck
We are seeing the same problem. Nothing in our build and deployment configuration has changed in many months. It has been rock solid for the last few years.
Your Environment Information ---------------------------
Operating System: linux
Node Version: 14.21.1
Framework Version: 2.68.0
Plugin Version: 5.5.4
SDK Version: 4.3.2
Components Version: 3.18.2
Found a solution on GitHub, Its a regression in aws-sdk. I have restricted the upgrade of aws-sdk@2.1259.0 and now the build succeeds and gets deployed.