16 lines
304 B
Go
16 lines
304 B
Go
package main
|
|
|
|
import (
|
|
"github.com/hashicorp/terraform/builtin/providers/test"
|
|
"github.com/hashicorp/terraform/plugin"
|
|
"github.com/hashicorp/terraform/terraform"
|
|
)
|
|
|
|
func main() {
|
|
plugin.Serve(&plugin.ServeOpts{
|
|
ProviderFunc: func() terraform.ResourceProvider {
|
|
return test.Provider()
|
|
},
|
|
})
|
|
}
|