Bridge terraform-provider-dokploy into a Pulumi provider
18 resources and 5 data sources mapped into the dokploy:index module, with SDKs generated for TypeScript, Python, Go and .NET.
This commit is contained in:
23
provider/cmd/pulumi-resource-dokploy/main.go
Normal file
23
provider/cmd/pulumi-resource-dokploy/main.go
Normal file
@@ -0,0 +1,23 @@
|
||||
// pulumi-resource-dokploy is the Pulumi provider plugin for Dokploy. It serves
|
||||
// the bridged Terraform provider together with the schema baked in at build
|
||||
// time by `make tfgen`.
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
_ "embed"
|
||||
|
||||
"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/tfbridge"
|
||||
|
||||
dokploy "github.com/maxvojtkov/pulumi-dokploy/provider"
|
||||
"github.com/maxvojtkov/pulumi-dokploy/provider/pkg/version"
|
||||
)
|
||||
|
||||
//go:embed schema.json
|
||||
var pulumiSchema []byte
|
||||
|
||||
func main() {
|
||||
tfbridge.Main(context.Background(), "dokploy",
|
||||
dokploy.Provider(version.Version),
|
||||
tfbridge.ProviderMetadata{PackageSchema: pulumiSchema})
|
||||
}
|
||||
Reference in New Issue
Block a user