straight-hair-32184
04/15/2025, 12:50 PMprovider config warning: This property is deprecated and will be removed in v5.0 of the AzureRM provider. Please use the `resource_provider_registrations` property instead.
I've gone through this thread by @straight-whale-42634 with a response by @limited-rainbow-51650.
The issue being I HAVE to use and provider and the new provider. The new being primary, but the old is used for a single action, Pulumi.Azure.AppService.CertificateBinding
This is specifically to workaround the Circular dependency between WebAppHostNameBinding and Certificate.
And while this is related to the Azure providers, it's more specifically related to ho pulumi wraps the terraform modules. So I'm putting it here in the general channel.
I'm unable to get rid of the warning. My current iteration of attempt looks like the below. Which still "functions" but also still warns.
In my pulumi.yaml I've added azureskipProviderRegistration "true"
And for the Provider I have
var azureProvider = new Pulumi.Azure.Provider("azureOld", new Pulumi.Azure.ProviderArgs
{
SubscriptionId = SubscriptionId,
ResourceProviderRegistrations = "none",
ResourceProvidersToRegisters = {
"Microsoft.Web",
},
});
But no matter how I attempt to isolate I still receive
warning: provider config warning: This property is deprecated and will be removed in v5.0 of the AzureRM provider. Please use the `resource_provider_registrations` property instead.
Also I know it's isolated to this provider and Pulumi.Azure.AppService.CertificateBinding because the warning goes away as soon as I remove those two items.
Any further insights would be helpful.
thanksstraight-hair-32184
04/22/2025, 7:58 PMNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by