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