title: Error in AWS codepipeline when deploying ElasticBeanstalk
body: <p>I've created a pipeline which does the following:</p>
  
  <ol>
  <li>Git changes trigger next action (code build)</li>
  <li>Codebuild initiates &amp; builds a docker image from git source</li>
  <li>Set latest docker container up on Elasticbeanstalk</li>
  </ol>
  
  <p>The first 2 steps are working fine, git changes initiate a codebuild, the codebuild builds a docker image, and then tries to set it up on Elasticbeanstalk (which fails). The following error is thrown:</p>
  
  <blockquote>
    <p>Invalid action configuration The action failed because either the
    artifact or the Amazon S3 bucket could not be found. Name of artifact
    bucket: MY_BUCKET_NAME. Verify that this bucket
    exists. If it exists, check the life cycle policy, then try releasing
    a change.</p>
  </blockquote>
  
  <p>In my codebuild project, I've set the artifact location to MY_BUCKET_NAME &amp; named it aws-test-artifact. Is this all I have to do?</p>
  
  <p>I've tried looking around and am unable to find anything on this issue.</p>