This message was deleted.
# typescript
s
This message was deleted.
l
That is because
name
is the only Typescript property on the
Config
object: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/#Config-name
In all my infra code so far, I used the regular
get
methods to retrieve a single value (https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/#Config-get) or I used structured configuration (https://www.pulumi.com/docs/intro/concepts/config/#structured-configuration)
The closest you can get is to have all the configuration you want to pass to Docker as structured configuration and use
config.requireObject<YourInterfaceType>(<yourConfigKey>)
o
thx Ringo. With Docker you need config.get, then ARG & ENV. Redeclaring each named variable 3+ times was getting out of hand. I saw Structured Config. Happy to go there but was wondered if I was missing something basic.