This message was deleted.
# general
s
This message was deleted.
a
So I want to access
auth0:domain
, but the config loads
myproject:auth0:domain
(which of course fails)
f
Look at the
Config
constructor - does it take a namespace argument?
a
Yes, it does, so I tried to pass the empty string to it, and then it constructed
:auth0:domain
😛
And if I leave it empty, it will pick the name of the project as namespace
Reading the source code, I think I'll try passing
null
and see what happens
Unfortunately, that doesn't work either
I summarized my question in a more structured way, so it becomes easier to see what I have tried and what the problem is. Please check it out on StackOverflow if you think you can help: https://stackoverflow.com/questions/65141583/cannot-read-global-configuration-string
b
What happens if you do:
Copy code
config = pulumi.Config("auth0")
region = config.get("domain")
?
a
🤦‍♂️
I should have thought about that
Thanks!
b
It's ok. I did the same last week