A Terraform provider for Dokploy
Plugin-framework provider covering projects, environments, applications, Compose stacks, managed databases, domains, mounts, ports, redirects, basic auth, registries, SSH keys, certificates and backup destinations, over Dokploy's tRPC-over-REST API. The shim package exposes the provider to other Go modules, which is how pulumi-dokploy bridges it.
This commit is contained in:
16
shim/shim.go
Normal file
16
shim/shim.go
Normal file
@@ -0,0 +1,16 @@
|
||||
// Package shim exposes the Dokploy Terraform provider to external Go modules.
|
||||
//
|
||||
// internal/provider cannot be imported outside this module, so downstream
|
||||
// consumers -- notably the Pulumi bridge in pulumi-dokploy -- go through here.
|
||||
package shim
|
||||
|
||||
import (
|
||||
fwprovider "github.com/hashicorp/terraform-plugin-framework/provider"
|
||||
|
||||
"github.com/maxvojtkov/terraform-provider-dokploy/internal/provider"
|
||||
)
|
||||
|
||||
// NewProvider returns the plugin-framework provider stamped with version.
|
||||
func NewProvider(version string) fwprovider.Provider {
|
||||
return provider.New(version)()
|
||||
}
|
||||
Reference in New Issue
Block a user