mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
20 lines
476 B
Go
20 lines
476 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/hashicorp/terraform/internal/grpcwrap"
|
|
"github.com/hashicorp/terraform/internal/plugin"
|
|
simple "github.com/hashicorp/terraform/internal/provider-simple"
|
|
"github.com/hashicorp/terraform/internal/tfplugin5"
|
|
)
|
|
|
|
func main() {
|
|
plugin.Serve(&plugin.ServeOpts{
|
|
GRPCProviderFunc: func() tfplugin5.ProviderServer {
|
|
return grpcwrap.Provider(simple.Provider())
|
|
},
|
|
})
|
|
}
|