RUNNER_TOKENS in bin/user-data.sh doesn't properly render multiple tokens due to missing quotes
After running the template rendering on bin/user-data.sh
, found that for two tokens, the rendered filebin/user-data-rendered.sh
looked as follows:
export RUNNER_TOKENS=XXXXXXXXXXXXXXXXXXXX YYYYYYYYYYYYYYYYYYYY
This causes only the first token to be used, ignoring the YYYYYYYYYYYYYYYYYYYY token above during the for-loop later that registers the runner