title: aws elastic beanstalk cli and buildspec.yml (codebuild): error with eb_codebuild_settings
body: <p>Im trying to reuse this repo <a href="https://github.com/noahgift/Flask-Elastic-Beanstalk" rel="nofollow noreferrer">https://github.com/noahgift/Flask-Elastic-Beanstalk</a></p>
  <p>It works fine when i dont use the buildspec.yml.</p>
  <p>But if I try to do so, (to add extra commands to the build process with beanstalk) i get the follwing error when i run <code>eb init</code>:</p>
  <pre><code>WARNING: Beanstalk configuration header 'eb_codebuild_settings' is missing from Buildspec file; will not use Beanstalk Code Build integration
  Cannot setup CodeCommit because there is no Source Control setup, continuing with initialization
  </code></pre>
  <p>So tried to follow <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli-codebuild.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli-codebuild.html</a> instructions.</p>
  <p>I added the following lines to my buildspec.yml :</p>
  <pre><code>eb_codebuild_settings:
    CodeBuildServiceRole: arn_of_my_role
    ComputeType:  BUILD_GENERAL1_MEDIUM
    #Image: image #optionnal
    #Timeout: minutes #optionnal
  </code></pre>
  <p>I struggle with the image part: the cli is asking for an image but beanstalk is supposed to build the image so i cant define it prior to the the <code>eb init</code> and <code>eb create</code></p>
  <p>Does someone managed to use buildspec with eb cli ?</p>
  <p>Thanks</p>