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

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 to do this and do:

  timeout: 1200

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

I will clarify the docs on this.