Closed tinfoilcat closed 1 year ago
for good measure, I tried it from another server (running a different version of go)
Installed pulumi:
user@someserver:~$ curl -fsSL https://get.pulumi.com | sh
=== Installing Pulumi v3.73.0 ===
+ Downloading https://get.pulumi.com/releases/sdk/pulumi-v3.73.0-linux-x64.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 136M 100 136M 0 0 172M 0 --:--:-- --:--:-- --:--:-- 171M
+ Extracting to /home/user/.pulumi/bin
+ Adding $HOME/.pulumi/bin to $PATH in /home/user/.bashrc
=== Pulumi is now installed! 🍹 ===
then
user@someserver:~/infrastructure-bugcrowd/terraform/redis$ go version
go version go1.19.4 linux/amd64
user@someserver:~/infrastructure-bugcrowd/terraform/redis$ pulumi convert --from terraform --language go
Converting from terraform...
Downloading provider: terraform
Downloading provider: azure
Downloading provider: local
Downloading provider: random
Converting to go...
Installing dependencies...
go: downloading github.com/pulumi/pulumi-azure/sdk/v5 v5.44.1
go: downloading github.com/pulumi/pulumi-random/sdk/v4 v4.13.2
go: downloading github.com/pulumi/pulumi-std/sdk/go/std v1.4.0
go: downloading github.com/pulumi/pulumi/sdk/v3 v3.30.0
go: github.com/pulumi/pulumi-std/sdk/go/std@v1.4.0: reading github.com/pulumi/pulumi-std/sdk/go/std/go.mod at revision sdk/go/std/v1.4.0: unknown revision sdk/go/std/v1.4.0
error: installing dependencies failed; rerun manually to try again, then run `pulumi up` to perform an initial deployment: `go mod tidy` failed to install dependencies: exit status 1
moving this issue to github.com/pulumi repo instead.
What happened?
I was attempting to convert some terraform code to go with
pulumi convert
and it crashed on the pulumi-std dependency.^ I verified GOPROXY address is correct, and emptied out the modcache .. I also verified that the v1.4.0 tag exists in pulumi-std.
Expected Behavior
I expected terraform to get converted to go.
Steps to reproduce
try
pulumi convert --from terraform --language go
in a terraform module, and see if crashes on the v1.4.0 tag?Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).