sparse-intern-71089
06/10/2021, 2:47 PMbillowy-army-68599
full-artist-27215
06/10/2021, 3:04 PMfull-artist-27215
06/10/2021, 3:06 PMfull-artist-27215
06/10/2021, 3:07 PMbillowy-army-68599
billowy-army-68599
full-artist-27215
06/10/2021, 3:10 PMfull-artist-27215
06/10/2021, 3:12 PMresources.go:24:2: missing go.sum entry for module providing package github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge (imported by github.com/pulumi/pulumi-nomad/provider); to add:
go get github.com/pulumi/pulumi-nomad/provider
cmd/pulumi-tfgen-nomad/main.go:18:2: missing go.sum entry for module providing package github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen (imported by github.com/pulumi/pulumi-nomad/provider/cmd/pulumi-tfgen-nomad); to add:
go get github.com/pulumi/pulumi-nomad/provider/cmd/pulumi-tfgen-nomad
resources.go:25:2: missing go.sum entry for module providing package github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim (imported by github.com/pulumi/pulumi-nomad/provider); to add:
go get github.com/pulumi/pulumi-nomad/provider
resources.go:26:2: missing go.sum entry for module providing package github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v1 (imported by github.com/pulumi/pulumi-nomad/provider); to add:
go get github.com/pulumi/pulumi-nomad/provider
resources.go:27:2: missing go.sum entry for module providing package github.com/pulumi/pulumi/sdk/v3/go/common/resource (imported by github.com/pulumi/pulumi-nomad/provider); to add:
go get github.com/pulumi/pulumi-nomad/provider
resources.go:28:2: missing go.sum entry for module providing package github.com/pulumi/pulumi/sdk/v3/go/common/tokens (imported by github.com/pulumi/pulumi-nomad/provider); to add:
go get github.com/pulumi/pulumi-nomad/provider
resources.go:29:2: no required module provides package github.com/terraform-providers/terraform-provider-nomad/nomad; to add it:
go get github.com/terraform-providers/terraform-provider-nomad/nomad
make: *** [Makefile:52: tfgen] Error 1full-artist-27215
06/10/2021, 3:12 PM(cd provider && go mod download) step would have done...full-artist-27215
06/10/2021, 3:13 PMbillowy-army-68599
go mod tidyfull-artist-27215
06/10/2021, 3:19 PMbroad-dog-22463
06/10/2021, 3:21 PMfull-artist-27215
06/10/2021, 3:21 PMresources.go. The generated code reads as
// Instantiate the Terraform provider
p := shimv1.NewProvider(nomad.Provider().(*schema.Provider))
The compiler takes issue with that, however:
./resources.go:94:42: invalid type assertion: nomad.Provider().(*"github.com/hashicorp/terraform-plugin-sdk/helper/schema".Provider) (non-interface type *"github.com/hashicorp/terraform-plugin-sdk/helper/schema".Provider on left)full-artist-27215
06/10/2021, 3:21 PMbroad-dog-22463
06/10/2021, 3:22 PM