title: Is it possible to set environment variables per branch in the Amplify.yml file (AWS Amplify)?
body: <p>I'm currently using AWS Amplify to manage my front-end. I've been manually injecting the environment variables throughout the console. </p>
  
  <p>While I have seen that (at least in this case), the environment variables are correctly protected as mentioned in the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/environment-variables.html" rel="nofollow noreferrer">AWS docs</a>. I wanted to know if it was possible to set in the <code>amplify.yml</code> file variables per branch that do not necessarily need protection. </p>
  
  <p>Something like this:</p>
  
  <pre><code>version: 0.1
  env:
    variables:
      myvarOne:
        branch: master
          value: ad
        branch: dev
          value otherval
  frontend:
    phases:
      preBuild:
        commands:
          - yarn install
          - yarn lint
          - yarn test
      build:
        commands:
          - yarn build build
    artifacts:
      baseDirectory: build
      files:
        - '**/*'
    cache:
      paths:
        - node_modules/**/*
  
  </code></pre>