https://pulumi.com logo
#python
Title
# python
l

little-river-49422

07/28/2019, 6:25 PM
hey, any ideas what this means?
Copy code
azure:ad:Application aks-app  error: Error ensuring Resource Providers are registered: Cannot register provider Microsoft.DBforPostgreSQL with Azure Resource Manager: resources.ProvidersClient#Register
I dont have postgres at all in my configuration I dont even have postgres class imported in the configuration
w

white-balloon-205

07/29/2019, 4:08 PM
I suspect this may be related to your account? See https://github.com/terraform-providers/terraform-provider-azurerm/issues/3358 for a similar case. You can set
azure:skipProviderRegistration
to true to opt out of automatically trying to register providers - though that may lead to other errors when you first try to use new resource kinds that your subscription may not have yet registered.
l

little-river-49422

07/29/2019, 4:16 PM
right, where do I set this flag? I obviously cant use terraform, right? And I dont really initialize connection to Azure anywhere in pulumi
w

white-balloon-205

07/29/2019, 4:16 PM
pulumi config set azure:skipProviderRegistration true
l

little-river-49422

07/29/2019, 4:17 PM
ok, that helps, thanks
cant really test it because i did just re-register all the providers, lol
but added it to the config, thanks!