Search code examples
javaamazon-web-servicesintellij-ideaaws-lambdaaws-sam-cli

Problem while deploying Java AWS lambda from Intellij IDE


I'm trying to deploy the java aws lambda function from Intellij, When deploying I'm getting an error SAM did not complete successfully

The build and package were successful, but Create Change Set is resulting in error. Attaching the screen shot

Build enter image description here

Package enter image description here

Create Change Set

While running create change set I'm getting the error

enter image description here

Is there a way to resolve this issue ?


Solution

  • Your aws-cli may be out dated. SAM might be passing arguments to the cli that are not supported by the version of your aws-cli. Try and update your aws-cli.