terraform/builtin/bins/provisioner-file/main.go

16 lines
327 B
Go
Raw Normal View History

2014-07-15 23:37:55 +02:00
package main
import (
"github.com/hashicorp/terraform/builtin/provisioners/file"
"github.com/hashicorp/terraform/plugin"
2014-09-28 20:51:39 +02:00
"github.com/hashicorp/terraform/terraform"
2014-07-15 23:37:55 +02:00
)
func main() {
2014-09-28 20:51:39 +02:00
plugin.Serve(&plugin.ServeOpts{
ProvisionerFunc: func() terraform.ResourceProvisioner {
return new(file.ResourceProvisioner)
},
})
2014-07-15 23:37:55 +02:00
}