Exclusive' parameter is used without 'reusable'


#1

I have a config like the following:

version: 2

jobs:

  build:

    docker:
      - image: 123456789012.dkr.ecr.eu-central-1.amazonaws.com/circleci-docker:v123
        aws_auth:
          aws_access_key_id: ${AWS_ACCESS_KEY_ID}
          aws_secret_access_key: ${AWS_SECRET_ACCESS_KEY}

    steps:

      - checkout

      # set up docker env on a remote machine
      - setup_remote_docker:
          version: "17.05.0-ce"
          reusable: false # setting to true costs extra per repo
          exclusive: false

      - run:
          name: Log in to ECR
          shell: /bin/bash
          command: |
            make auth_aws

This fails with:
Spin up Environment 00:00
Build-agent version 0.0.4233-c9a1216 (2017-09-21T04:41:54+0000)
Configuration errors: 1 error occurred:

* In step 2 (setup_remote_docker): 'exclusive' parameter is used without 'reusable'

On my local machine I validate the config with no problem:

$ circleci config validate
config file is valid

Expected:

  • reusable is false, so I wouldn’t expect a failure here. exclusive should just be ignored.
  • circleci config validate should have indicated the error

#2