terraform/builtin/bins/provisioner-chef-client/main.go

16 lines
340 B
Go

package main
import (
"github.com/hashicorp/terraform/builtin/provisioners/chef-client"
"github.com/hashicorp/terraform/plugin"
"github.com/hashicorp/terraform/terraform"
)
func main() {
plugin.Serve(&plugin.ServeOpts{
ProvisionerFunc: func() terraform.ResourceProvisioner {
return new(chefclient.ResourceProvisioner)
},
})
}