I created simple spring boot application with a REST end point. I was able to create the native image using mvn spring-boot:build-image. The image is created and I am able to run it locally using docker.
I created the AWS Lambda function using this container image. I am getting an exception as this function is being created and it ends in FAILED state.
Error
Failed to create the function TestAgainAgain: Image runtime config size is larger than 16 KB. ImageConfigSize: 447.53 KB
Any clue on how to avoid/solve the above error will be appreciated