AWS: ERROR: Pre-processing of application version xxx has failed and Some application versions failed to process. Unable to continue deployment
10:34 23 Jun 2020

Hi I am trying to deploy a node application from cloud 9 to ELB but I keep getting the below error.

Starting environment deployment via CodeCommit --- Waiting for Application Versions to be pre-processed --- ERROR: Pre-processing of application version app-491a-200623_151654 has failed. ERROR: Some application versions failed to process. Unable to continue deployment.

I have attached an image of the IAM roles that I have. Any solutions?

amazon-web-services amazon-elastic-beanstalk aws-cloud9