https://pulumi.com logo
l

limited-rainbow-51650

10/12/2020, 11:54 AM
Any specific reason that in
make prepare
of the tf-bridge, only in
provider/go.mod
the module name is replaced with
REPOSITORY
, but not in
scripts/go.mod
,
examples/go.mod
and
sdk/go.mod
? https://github.com/pulumi/pulumi-tf-provider-boilerplate/blob/master/Makefile#L37-L46
b

broad-dog-22463

10/12/2020, 12:18 PM
No specific reason other than we've not had any other external contributions 😕
I apologies for this
I have an issue open to spend some time on that repo this week
l

limited-rainbow-51650

10/12/2020, 12:26 PM
No problem. I was able to get passed these small issues. Context is a Unifi network resource provider. I found that Paul Tyng separated the provider from the SDK for his
unifi
provider: https://github.com/paultyng/go-unifi Given there is an SDK, would you create a Pulumi provider from scratch rather than wrapping the TF provider?
Is there any Pulumi provider which was started from scratch rather than wrapping a TF one?
b

broad-dog-22463

10/12/2020, 1:36 PM
kubernetes
we do not use Go sdks
we use open api specs
all Terraform providers have Go SDKs
l

limited-rainbow-51650

10/12/2020, 1:50 PM
I once tried to bootstrap a spec. 🙂 https://github.com/ringods/unifi-api-spec
Didn’t really get far. 🙂