AWS CodePipeline ElasticBeanstalk deploy failure
<p>I recently created an AWS CodePipeline pipeline to pull from Github, build with Jenkins/Maven, and deploy to an existing ElasticBeanstalk project. The output of the build step and input to the deploy step is the built .war file. Upon successfully building the WAR, deployment fails with this error from the AWS EB console.</p>

<blockquote>
  <p>[Instance: i-6605c4e1] Command failed on instance. Return code: 2 Output: (TRUNCATED)...opt/elasticbeanstalk/deploy/appsource/source_bundle + /usr/bin/unzip -o -d /tmp/deployment/application/ROOT /opt/elasticbeanstalk/deploy/appsource/source_bundle Archive: /opt/elasticbeanstalk/deploy/appsource/source_bundle mapname: conversion of failed. Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/02unzip.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.</p>
</blockquote>

<p>I can pull a more detailed message to include here, but perhaps someone can see something obvious I'm missing that I cannot see.</p>

<p>I can successfully deploy the Jenkins/Maven-generated WAR file directly to Elastic Beanstalk, but via CodePipeline the deploy fails.</p>

<p>Thank you!</p>