But default: { get_input: marker } is an invalid assigment because the assigned part ({ get_input: marker }) should be a value (e.g. 1, hello, true, list, map, etc.) and not an expression or function call. See Section 3.6.14 of TOSCA 1.3.
In this example, default: { get_input: marker } should be replaced by value: { get_input: marker } because assigning an expression or function call to value is allowed by the TOSCA 1.3 grammar.
Into various service templates, e.g. examples/hello/service.yaml, we could find definitions like:
But
default: { get_input: marker }
is an invalid assigment because the assigned part ({ get_input: marker }
) should be a value (e.g.1
,hello
,true
, list, map, etc.) and not an expression or function call. See Section 3.6.14 of TOSCA 1.3.In this example,
default: { get_input: marker }
should be replaced byvalue: { get_input: marker }
because assigning an expression or function call tovalue
is allowed by the TOSCA 1.3 grammar.