Thread
#general
    c

    crooked-sunset-90921

    3 months ago
    Anyone know how to get the currently configured azure-native location? The config file has: config: azure-native:location: eastus2 But I can't figure out how to access it programmatically... any ideas?
    a

    average-tiger-58107

    3 months ago
    c

    crooked-sunset-90921

    3 months ago
    Aha, I need to pass the azure-native as the library name for the constructor... let me try that
    Awesome, that worked, thanks @average-tiger-58107
    a

    average-tiger-58107

    3 months ago
    You should be able to omit
    azure-native
    if that key corresponds to your default key/namespace
    l

    little-cartoon-10569

    3 months ago
    It won't 🙂 The default namespace is your project name.
    c

    crooked-sunset-90921

    3 months ago
    yeah exactly... config file is this:
    config:
    azure-native:location: eastus2
    app-frontend:testvar: foo
    so I'm having to do this:
    config = pulumi.Config()
    azure_config = pulumi.Config("azure-native")
    a

    average-tiger-58107

    3 months ago
    ah, i know nothing about azure-native, so figured it could have been the project name 😛
    c

    crooked-sunset-90921

    3 months ago
    lol, no... it's the provider, but that para helped me
    a

    average-tiger-58107

    3 months ago
    good stuff
    c

    crooked-sunset-90921

    3 months ago
    good fluke, thanks again