https://pulumi.com logo
#azure
Title
# azure
b

bitter-postman-91441

02/12/2024, 11:51 AM
Hi All, Does anyone know how to register a Resource Provider with azure-native. Google just gives me a ton of incorrect Pulumi AI responses unfortunately, one article does seem to mention that it should be automatic based on the resource being created but that doesnt seem to be the case for me. Trying to register
Microsoft.Compute
on a new subscription.
Nevermind, found a similar answer above stating this isnt implemented yet
a

adventurous-butcher-54166

02/17/2024, 12:06 AM
The
azure-native.providerhub
resources are throwing lots of strange errors. In the meanwhile you could opt to do this with az-cli:
az provider register --namespace "Microsoft.Compute"
Or you could wrap the az cli command in `pulumi-command`'s local.Command or local.run depending on whether you need other resources to depend/wait on it to complete.