This message was deleted.
# typescript
s
This message was deleted.
w
Curious - what do you see if you call
pulumi.runtime.allConfig()
? And what do you see if you get
process.env[“PULUMI_CONFIG]
?
s
Hi @white-balloon-205 For
Pulumi.runtime.allConfig()
the output is
Copy code
{
  'aws:region': 'us-east-1',
  'wawa-runtime-istio': { istio_version: '1.1.7' }
}
and for
process.env{"PULUMI_CONFIG"]
the output is
Copy code
{
  "aws:region": "us-east-1",
  "wawa-runtime-istio": {
    "istio_version": "1.1.7"
  }
}
The values seem to be there, but doe snot seem to be resolved here
let istio_version = configs.get("istio_version");
ok, think i figured this out, but wanted to confirm.
Copy code
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.