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