title: AWS Elastic Beanstalk .ebextensions order of precedence
body: <p>If I apply a setting in two config files in the .ebextensions folder does the last file override the setting in the first file?</p>
  
  <p>For example take two files with instance role setting defined:</p>
  
  <p>.ebextensions/0001-base.config</p>
  
  <pre><code>option_settings:
    IamInstanceProfile: aws-ec2-role
  </code></pre>
  
  <p>.ebextensions/0010-app.config</p>
  
  <pre><code>option_settings:
    IamInstanceProfile: aws-app-role
  </code></pre>
  
  <p>Which role will the Beanstalk EC2 instance be given? aws-ec2-role or aws-app-role?</p>