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