mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-08 15:13:56 -06:00
12f6ccb731
With this refactor the DigitalOcean provider is updated to use the schema.Provider approach released with TF 0.2.
13 lines
224 B
Go
13 lines
224 B
Go
package main
|
|
|
|
import (
|
|
"github.com/hashicorp/terraform/builtin/providers/digitalocean"
|
|
"github.com/hashicorp/terraform/plugin"
|
|
)
|
|
|
|
func main() {
|
|
plugin.Serve(&plugin.ServeOpts{
|
|
ProviderFunc: digitalocean.Provider,
|
|
})
|
|
}
|