package main

import (
	"github.com/hashicorp/terraform/builtin/providers/local"
	"github.com/hashicorp/terraform/plugin"
)

func main() {
	plugin.Serve(&plugin.ServeOpts{
		ProviderFunc: local.Provider,
	})
}

package main

import (
	"github.com/hashicorp/terraform/builtin/providers/localfile"
	"github.com/hashicorp/terraform/plugin"
)

func main() {
	plugin.Serve(&plugin.ServeOpts{
		ProviderFunc: localfile.Provider,
	})
}

--- 
+++ 
@@ -1,12 +1,12 @@
 package main
 
 import (
-	"github.com/hashicorp/terraform/builtin/providers/localfile"
+	"github.com/hashicorp/terraform/builtin/providers/local"
 	"github.com/hashicorp/terraform/plugin"
 )
 
 func main() {
 	plugin.Serve(&plugin.ServeOpts{
-		ProviderFunc: localfile.Provider,
+		ProviderFunc: local.Provider,
 	})
 }
Fix import path on provider-localfile
