I can't seem to figure out how to read these confi...
# python
b
I can't seem to figure out how to read these config values starting with "azure*":
Copy code
config:
  azure-native:location: northeu
  azure:subscriptionId: 1234-abcd
  my-project:context:
    some-key: some-value
I am only able to fetch the config values under "my-project", for some reason. Can anyone enlighten me? 🕯️
m
Copy code
const azureConfig = new pulumi.Config("azure");
const azureNativeConfig = new pulumi.Config("azure-native");

cost location = azureNativeConfig.get("location");
cost subscriptionId = azureConfig.get("subscriptionId");
b
Thank you 🙏 Used this Python code:
azure_cfg = pulumi.Config("azure")
subscription_id = azure_cfg.get("subscriptionId");
Didn't know about the default behavior of Config(), in case now parameter is supplied. But that explains it.