pulumi-azure-native
pulumi-azure-native copied to clipboard
Equivalent of core.ResourceProviderRegistration?
Is there the equivalent of core.ResourceProviderRegistration from the classic Azure provider?
It looks like it would be in the resources module, but I don't see it.
The resource in the classic provider corresponds to this POST endpoint. The native provider doesn't support POST endpoints at the moment, only PUT-based resources. We should consider extending it for such scenarios.
Still happening in 2024 🤣
What makes this even worse is the BS AI answers from Pulumi where it just makes stuff up:
https://www.pulumi.com/ai/answers/c7CeZ6aZNNFmFPUc3SVzQy/registering-azure-resource-providers-for-successful-deployments.
So if because of this one has to use the Terraform provider, we also need to set ARM_SKIP_PROVIDER_REGISTRATION right? Unless we use the Terraform provider for additional resource creation, not just sub provider registration.
Otherwise it errors out with:
To manage this Resource Provider Registration with Terraform you need to opt-out
of Automatic Resource Provider Registration (by setting 'skip_provider_registration'
to 'true' in the Provider block) to avoid conflicting with Terraform.: The Resource Provider "Microsoft.Network" is automatically registered by Terraform.
To manage this Resource Provider Registration with Terraform you need to opt-out
of Automatic Resource Provider Registration (by setting 'skip_provider_registration'
to 'true' in the Provider block) to avoid conflicting with Terraform.