square-bear-79319
06/12/2019, 3:36 PMPULUMI_CONFIG="{ \"aws:region\": \"us-east-1\", \"istio_version\": \"1.1.7\" }"
, but it does not seem to work. When i output the config values. it only has the value of the name which is part of PULUMI_NODEJS_PROJECT="wawa-runtime-istio";
. In general, PULUMI_CONFIG does not seem to take the values provided and is not working as intended.
Any help on this is much appreciated.
Config { name: 'wawa-runtime-istio' }
Error: repo istio-undefined not found
Error: repo istio-undefined not found
(node:22548) UnhandledPromiseRejectionWarning: Error: Error: Command failed: helm fetch istio-undefined/istio-init --untar --version undefined --destination C:\Users\guptak1\AppData\Local\Temp\1\tmp-22548iGyXL4S208pz
Error: repo istio-undefined not found
white-balloon-205
06/12/2019, 4:18 PMpulumi.runtime.allConfig()
?
And what do you see if you get process.env[“PULUMI_CONFIG]
?square-bear-79319
06/12/2019, 4:53 PMPulumi.runtime.allConfig()
the output is {
'aws:region': 'us-east-1',
'wawa-runtime-istio': { istio_version: '1.1.7' }
}
and for process.env{"PULUMI_CONFIG"]
the output is {
"aws:region": "us-east-1",
"wawa-runtime-istio": {
"istio_version": "1.1.7"
}
}
let istio_version = configs.get("istio_version");
process.env.PULUMI_NODEJS_PROJECT="wawa-runtime-istio";
process.env.PULUMI_CONFIG="{ \"aws:region\": \"us-east-1\", \"wawa-runtime-istio:istio_version\": \"1.1.7\" }";
Looks like the value in nodejs_project should be the same as the one given for each of the custom variables. This was somehow not obvious and hence the confusion. Please let know if that is not the case.