Thread
#general
    m

    modern-tent-49484

    7 months ago
    Why can I do
    pulumi config get google-native:region
    , but I can't do
    config.require("google-native:region")
    ?
    b

    bored-table-20691

    7 months ago
    The configuration is namespaced. So in code you'd ask to get the Google-native namespace and then get the region for it.
    m

    modern-tent-49484

    7 months ago
    const googleNativeConfig = new Config("google-native");
    const region = googleNativeConfig.require("region");
    Like this?
    b

    bored-table-20691

    7 months ago
    Yes. I don't know what it looks like in TypeScript but the Go code looks similar.