Why can I do `pulumi config get google-native:regi...
# general
m
Why can I do
pulumi config get google-native:region
, but I can't do
config.require("google-native:region")
?
b
The configuration is namespaced. So in code you'd ask to get the Google-native namespace and then get the region for it.
m
Copy code
const googleNativeConfig = new Config("google-native");
const region = googleNativeConfig.require("region");
✔️ 1
Like this?
b
Yes. I don't know what it looks like in TypeScript but the Go code looks similar.