From a65d8e89a7d564dd4a50d88dcb5b70bacb904a56 Mon Sep 17 00:00:00 2001 From: Wyatt Fry Date: Mon, 13 Jan 2025 15:36:55 -0500 Subject: [PATCH] wip --- internal/provider/provider.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 18ac16535842..c6d78b4846b7 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -489,11 +489,7 @@ func providerConfigure(p *schema.Provider) schema.ConfigureContextFunc { // buildClient is used to configure behavioral aspects of the provider. To configure the // cloud environment and authentication-related settings, use the providerConfigure function. func buildClient(ctx context.Context, p *schema.Provider, d *schema.ResourceData, authConfig *auth.Credentials) (*clients.Client, diag.Diagnostics) { - // TODO: This hardcoded default is for v3.x, where `resource_provider_registrations` is not defined. Remove this hardcoded default in v4.0 - providerRegistrations := resourceproviders.ProviderRegistrationsLegacy - if features.FourPointOhBeta() { - providerRegistrations = d.Get("resource_provider_registrations").(string) - } + providerRegistrations := d.Get("resource_provider_registrations").(string) // TODO: Remove in v5.0 if d.Get("skip_provider_registration").(bool) {