straight-whale-42634
01/28/2025, 7:26 AMresource_provider_registrations
property instead.
anything i need to do here? 🙂limited-rainbow-51650
02/10/2025, 9:29 AMProvider
setup, I suppose you are using the input property SkipProviderRegistration
:
https://www.pulumi.com/registry/packages/azure/api-docs/provider/#skipproviderregistration_csharp
Our Azure Classic provider is bridged to the Terraform AzureRM provider. They are currently at major v4 and will remove this property in an upcoming v5 of this provider. "Provider Registrations" are required for resource definitions (API endpoints) to be available for specific Azure resource types. The old behaviour of the provider was to register automatically a big set of resource providers. The new behavior will only default to a minimal set, but you can change that by using the ResourceProviderRegistrations
property
https://www.pulumi.com/registry/packages/azure/api-docs/provider/#resourceproviderregistrations_csharp
or ResourceProvidersToRegisters
property
https://www.pulumi.com/registry/packages/azure/api-docs/provider/#resourceproviderstoregisters_csharp
More info on this change can be found in the TF docs here:
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs#resource-provider-registrationsstraight-whale-42634
02/10/2025, 9:58 AMlimited-rainbow-51650
02/10/2025, 10:03 AMpulumi up
to also get rid of the default Azure Classic provider resource.straight-hair-32184
04/09/2025, 1:58 PMazure:skipProviderRegistration: "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.
thanks