16 lines
338 B
Go
16 lines
338 B
Go
package main
|
|
|
|
import (
|
|
"github.com/hashicorp/terraform/builtin/provisioners/local-exec"
|
|
"github.com/hashicorp/terraform/plugin"
|
|
"github.com/hashicorp/terraform/terraform"
|
|
)
|
|
|
|
func main() {
|
|
plugin.Serve(&plugin.ServeOpts{
|
|
ProvisionerFunc: func() terraform.ResourceProvisioner {
|
|
return new(localexec.ResourceProvisioner)
|
|
},
|
|
})
|
|
}
|