Say my MySQL password looks like this
T#`DEAE&H29r23328h23c@#X21
which contains a backtick. Of course, it might contain a " or ' or $ or other expandable sequence.
When variable substitution occurs in a deployment plan
MYSQL_PASSWORD=********
I get this error
error 20-Nov-2019 13:47:21 bash: -c: line 11: unexpected EOF while looking for matching ``' error
20-Nov-2019 13:47:21 bash: -c: line 37: syntax error: unexpected end of file
How can I ensure that variables are safely substituted in deployment (and, presumably, build) plans and ensure they are not interpreted?
Of course, I could create only alphanumeric passphrases, but that reduces entropy somewhat and I don't want to limit our infrastructure configuration. Do I need to use Bamboo Specs or something?
We're running self-hosted Bamboo version 6.3.4 build 60309 - 24 May 18