icy-dress-83371
03/25/2021, 2:13 PMconfig.get(subscriptionId)
would only look under the context of the project namebrave-planet-10645
03/25/2021, 2:16 PMconst config = new pulumi.Config();
will give you config under the namespace of the project name
const config = new pulumi.Config("azure-native");
const subscriptionId = config.get(subscriptionId);
will give you the azure-native configpulumi config set mycustomnamespace:configitem
Then you'd use
const config = new pulumi.Config("mycustomnamespace");
icy-dress-83371
03/25/2021, 2:18 PMtall-librarian-49374
03/25/2021, 2:27 PMgetClientConfig
like in https://github.com/pulumi/examples/blob/2e9e18b36a9720dd0e691f2bfe883bbfd46bd512/azure-ts-synapse/index.ts#L63subscriptionId
and some other parameters https://www.pulumi.com/docs/reference/pkg/azure-native/authorization/getclientconfig/