terraform/builtin/bins/provider-consul/main.go

16 lines
319 B
Go
Raw Normal View History

2014-07-25 23:03:17 +02:00
package main
import (
"github.com/hashicorp/terraform/builtin/providers/consul"
"github.com/hashicorp/terraform/plugin"
2014-09-28 20:51:39 +02:00
"github.com/hashicorp/terraform/terraform"
2014-07-25 23:03:17 +02:00
)
func main() {
2014-09-28 20:51:39 +02:00
plugin.Serve(&plugin.ServeOpts{
ProviderFunc: func() terraform.ResourceProvider {
return new(consul.ResourceProvider)
},
})
2014-07-25 23:03:17 +02:00
}