mirror of
https://github.com/letic/terraform-provider-proxmox.git
synced 2024-10-03 01:01:05 +00:00
Added multiple cmd targets for more convenient installation with go get
This commit is contained in:
parent
95d52ed4d6
commit
a1f744dd73
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
||||
terraform-provider-proxmox
|
||||
*~*
|
||||
*.bak
|
||||
|
18
cmd/terraform-provisioner-proxmox/main.go
Normal file
18
cmd/terraform-provisioner-proxmox/main.go
Normal file
@ -0,0 +1,18 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/Telmate/terraform-provider-proxmox/proxmox"
|
||||
"github.com/hashicorp/terraform/plugin"
|
||||
"github.com/hashicorp/terraform/terraform"
|
||||
)
|
||||
|
||||
func main() {
|
||||
plugin.Serve(&plugin.ServeOpts{
|
||||
ProviderFunc: func() terraform.ResourceProvider {
|
||||
return proxmox.Provider()
|
||||
},
|
||||
ProvisionerFunc: func() terraform.ResourceProvisioner {
|
||||
return proxmox.Provisioner()
|
||||
},
|
||||
})
|
||||
}
|
Loading…
Reference in New Issue
Block a user