mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-20 11:48:24 -06:00
Also renamed the provisioner to just `chef` as it’s out intention to end up with one provisioner for all types of `chef` clients.
16 lines
327 B
Go
16 lines
327 B
Go
package main
|
|
|
|
import (
|
|
"github.com/hashicorp/terraform/builtin/provisioners/chef"
|
|
"github.com/hashicorp/terraform/plugin"
|
|
"github.com/hashicorp/terraform/terraform"
|
|
)
|
|
|
|
func main() {
|
|
plugin.Serve(&plugin.ServeOpts{
|
|
ProvisionerFunc: func() terraform.ResourceProvisioner {
|
|
return new(chef.ResourceProvisioner)
|
|
},
|
|
})
|
|
}
|