Hello I'm posting this fresh as I posted my origin...
# general
s
Hello I'm posting this fresh as I posted my original question as a reply on a related thread and I'm guessing it's not being noticed. This is related to the warning:
Copy code
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.
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
Copy code
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
Copy code
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. thanks
In case anyone else comes across this. I worked with pulumi and proved this to be an issue, not anything with what I was doing. Issue has been created https://github.com/pulumi/pulumi-azure/issues/3175