terraform/internal/provider-simple-v6/main/main.go

17 lines
409 B
Go

package main
import (
"github.com/hashicorp/terraform/internal/grpcwrap"
simple "github.com/hashicorp/terraform/internal/provider-simple-v6"
"github.com/hashicorp/terraform/internal/tfplugin6"
plugin "github.com/hashicorp/terraform/plugin6"
)
func main() {
plugin.Serve(&plugin.ServeOpts{
GRPCProviderFunc: func() tfplugin6.ProviderServer {
return grpcwrap.Provider6(simple.Provider())
},
})
}