When using manifest variable substitution, booleans in the pipeline.yml are interpreted differently than when passed via a vars_file. In one case, booleans must be quote wrapped and in the other they must not be.
Incorrect Usage: invalid argument for flag `--var' (expected []template.VarKV): Deserializing variables 'random_route=%!s(bool=true)': yaml: could not find expected directive name
When using manifest variable substitution, booleans in the
pipeline.yml
are interpreted differently than when passed via avars_file
. In one case, booleans must be quote wrapped and in the other they must not be.Example When Set In Pipeline Broken config:
Corresponding error:
Working config:
Example When Set In Vars File Config:
Broken
devstar.yml
:Corresponding error:
Working
devstar.yml
:Concourse Deployment Version: 4.2.1 IaaS: AWS GovCloud Deployment: BOSH