wet-noon-14291
07/17/2022, 8:18 PMazure-native
properties in my Pulumi.<stack>.yaml
file, I thought they would be used if I do new azure.Provider(<name>)
in the code, but that doesn't seem to be the case in my case.... or maybe I've got it wrong?ProviderArgs
I wonder how I do I set the default location
when doing it programmatically? The location
doesn't seem to be a property on the ProviderArgs
.location
on the provider causing it to fail... when I then tried to set the location
I couldn't find the location
among the arguments when creating the provider, so what is the default way of setting the default location
for a provider so I don't have to specify it on the resources?happy-parrot-60128
07/18/2022, 10:48 AMwet-noon-14291
07/18/2022, 11:21 AMhappy-parrot-60128
07/18/2022, 11:24 AMwet-noon-14291
07/18/2022, 11:26 AMazure-native:location
you set the default value on all resources and not on the provider? If yes, is there a way to set that default value programmatically?happy-parrot-60128
07/18/2022, 11:29 AMwet-noon-14291
07/18/2022, 11:46 AMhappy-parrot-60128
07/18/2022, 11:50 AMwet-noon-14291
07/18/2022, 11:53 AMgetClientConfig
with the provider and it returned the client id for my user and not the SP I had configured in the config file.happy-parrot-60128
07/18/2022, 12:07 PMwet-noon-14291
07/18/2022, 12:08 PMhappy-parrot-60128
07/18/2022, 12:09 PMwet-noon-14291
07/18/2022, 2:17 PMhappy-parrot-60128
07/18/2022, 2:21 PMwet-noon-14291
07/18/2022, 2:57 PMhappy-parrot-60128
07/18/2022, 4:03 PM