Adding timeout to deployment errors with `modifiers to _COMMAND_ must be a map


#1

We are trying to set the timeout for a deployment command. It is running a ruby script that takes some arguments in the --parameter value and adding a colon at the end… but the build fails saying:

modifiers to _command_ must be a map
Action failed: Configure the build

We are following the docs https://circleci.com/docs/configuration/#modifiers to do this and do:

our_command_with_parameters:
  timeout: 1200

#2

The timeout modifier needs to be double indented (four spaces).

I will clarify the docs on this.


#3