I have a YAML scalar that is throwing the following error when I try to evaluate my docker-compose.yml file:
docker-compose.yml
ERROR: Invalid interpolation
Found the answer by copying the suggestion for % characters in this post
%
It requires a double dollar sign $$.
$$
So I needed "$${Time.now}", which evaluates to "${Time.now}"
"$${Time.now}"
"${Time.now}"