terraform/builtin/bins/provisioner-local-exec/main.go

16 lines
338 B
Go
Raw Normal View History

2014-07-09 22:34:08 +02:00
package main
import (
"github.com/hashicorp/terraform/builtin/provisioners/local-exec"
"github.com/hashicorp/terraform/plugin"
2014-09-28 20:51:39 +02:00
"github.com/hashicorp/terraform/terraform"
2014-07-09 22:34:08 +02:00
)
func main() {
2014-09-28 20:51:39 +02:00
plugin.Serve(&plugin.ServeOpts{
ProvisionerFunc: func() terraform.ResourceProvisioner {
return new(localexec.ResourceProvisioner)
},
})
2014-07-09 22:34:08 +02:00
}