2021-02-22 16:22:45 +01:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/hashicorp/terraform/internal/grpcwrap"
|
2021-05-17 21:35:22 +02:00
|
|
|
plugin "github.com/hashicorp/terraform/internal/plugin6"
|
2021-02-22 16:22:45 +01:00
|
|
|
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())
|
|
|
|
},
|
|
|
|
})
|
|
|
|
}
|