Is the Pulumi compiler option for the yaml runtime...
# general
p
Is the Pulumi compiler option for the yaml runtime supposed to get variables or some environment passed into it so it can render yaml with variable interpolation?
e
A few, it gets PULUMI_STACK, PULUMI_PROJECT, PULUMI_ORGANIZATION, PULUMI_ROOT_DIRECTORY, and PULUMI_CONFIG
PULUMI_CONFIG is a string of a json structure of the stack config, the others are just strings of the stack name, project name etc
p
This is all I'm seeing passed in:
PULUMI_CONFIG_PASSPHRASE_FILE=/dev/null
e
I think it calls the compiler twice as part of
up
and the first time doesn't set those variables, but it should the second run
1
p
Thanks, I'll clean up my test code and evaluate!