blob: 8545bf868e17197013175e7c1fbafdb90939290f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package provider
import (
p "github.com/pulumi/pulumi-go-provider"
"github.com/pulumi/pulumi-go-provider/infer"
"github.com/pulumi/pulumi/sdk/v3/go/common/tokens"
)
const Name = "porkbun"
var Version = "1.0.0"
func New() (p.Provider, error) {
return infer.NewProviderBuilder().
WithDisplayName("Porkbun").
WithDescription("A Pulumi provider for managing DNS records on Porkbun.").
WithHomepage("https://git.sr.ht/~rbdr/pulumi-porkbun").
WithRepository("https://git.sr.ht/~rbdr/pulumi-porkbun").
WithLicense("Apache-2.0").
WithKeywords("pulumi", "porkbun", "dns", "category/network").
WithNamespace("rbdr").
WithGoImportPath("git.sr.ht/~rbdr/pulumi-porkbun/sdk/go/porkbun").
WithConfig(infer.Config(&Config{})).
WithResources(
infer.Resource(&DnsRecord{}),
).
WithModuleMap(map[tokens.ModuleName]tokens.ModuleName{"provider": "index"}).
Build()
}
|