This message was deleted.
s
This message was deleted.
w
The provider needs to be on your PATH (not GOPATH).
b
Ah yes ok that worked - now I’m getting a new error
Copy code
Diagnostics:
  pulumi:pulumi:Stack (cloud-dev):
    panic: Invalid character(s) found in major number "sdk/v3"
    goroutine 1 [running]:
    <http://github.com/pulumi/pulumi-terraform-bridge/v2/pkg/tfbridge.GetModuleMajorVersion(0x106de2330|github.com/pulumi/pulumi-terraform-bridge/v2/pkg/tfbridge.GetModuleMajorVersion(0x106de2330>, 0xb, 0x14000c3f5e0, 0x1)
       /Users/jmccallum2/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v2@v2.19.0/pkg/tfbridge/info.go:730 +0x130
    <http://github.com/pulumi/pulumi-aws/provider/v3.Provider(0x0|github.com/pulumi/pulumi-aws/provider/v3.Provider(0x0>, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
       /Users/jmccallum2/Documents/pulumi-aws/provider/resources.go:4043 +0x48824
    main.main()
       /Users/jmccallum2/Documents/pulumi-aws/provider/cmd/pulumi-resource-aws/main.go:26 +0x28
 
  pulumi:providers:aws (default_3_31_0):
    error: could not read plugin [/opt/homebrew/bin/pulumi-resource-aws] stdout: EOF
any idea how I can get past this?
w
Haven’t seen that one before. It looks like somehow you are building the binary with
version.Version
set to
sdk/v3
which will not work. You are likely missing the ldflags on your build? You’ll see the expected pattern in the Makefiles. FWIW - I’m not certain that ARM64 builds of these providers can work yet - I recall there were a couple things we needed to do to enable correct ARM64 builds. @broad-dog-22463 and @billowy-army-68599 might know more here.
b
ah yes I had built it with goreleaser bypassing the verification checks - I just created a tag and rebuilt and it’s worked now. Thanks for your help @white-balloon-205 🙂
b
@brash-airline-37413 i would love it if you could post your experience in this issue! https://github.com/pulumi/pulumi/issues/4868 really glad you got it working though, we don't have any arm64 macbooks to test on just yet!
b
Sure thing it seems to be fine so far!