I have a Setup step then generates some ENVs. I was expecting to pass this to the following config via the Configuration Orb. However, I am having trouble determining how to pass the ‘evaluated’ version of the ENVs within the parameter string. I have tried $ and {{ $ }} syntax as well as leaving off the “” around the ENV. Trying << throws a configuration error indicating they need to be escaped. That clearly means that isn’t evaluating the value…
I believe I have responded to a team member of yours with the solution, but posting here too for visibility.
Currently, the parameters string’s values are not being evaluated. This is something I am looking into fixing. For now, we can echo those parameters into a json file in a pre-step before the orb command is called. The pre-step is neccesary because each job will spin up it’s own environment.
Notice the triple quote (a ’ and ") before the EV is called. This is so that the echo command will evaluate the environment variable. Also, the destination must be something other than the default working directory (~/project) as the continuation/continue step calls the checkout command which will fail if the directory already exists.