Hi, I have just installed Pulumi on Linux, and tri...
# aws
b
Hi, I have just installed Pulumi on Linux, and tried to follow https://www.pulumi.com/docs/get-started/aws/begin/ but getting
panic: strconv.ParseUint: parsing "": invalid syntax
error:
Copy code
# pulumi up
Previewing update (dev):
     Type                     Name           Plan       Info
 +   pulumi:pulumi:Stack      staging-dev    create     8 messages
     └─ pulumi:providers:aws  default_4_5_0             1 error

Diagnostics:
  pulumi:pulumi:Stack (staging-dev):
    panic: strconv.ParseUint: parsing "": invalid syntax
    goroutine 1 [running]:
    <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.GetModuleMajorVersion(0x0|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.GetModuleMajorVersion(0x0>, 0x0, 0xc00199f5b0, 0x1)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.0.0/pkg/tfbridge/info.go:730 +0x1dc
    <http://github.com/pulumi/pulumi-aws/provider/v4.Provider(0x0|github.com/pulumi/pulumi-aws/provider/v4.Provider(0x0>, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /home/runner/work/pulumi-aws/pulumi-aws/provider/resources.go:4173 +0x52e1b
    main.main()
        /home/runner/work/pulumi-aws/pulumi-aws/provider/cmd/pulumi-resource-aws/main.go:26 +0x37

  pulumi:providers:aws (default_4_5_0):
    error: could not read plugin [/root/.pulumi/plugins/resource-aws-v4.5.0/pulumi-resource-aws] stdout: EOF


# ll /root/.pulumi/plugins/resource-aws-v4.5.0/
total 255496
-rw-r--r--. 1 root root     38593 May 19 14:00 CHANGELOG.md
-rw-r--r--. 1 root root     11358 May 19 14:00 LICENSE
-rwxr-xr-x. 1 root root 261558786 May 19 14:00 pulumi-resource-aws
# uname -mso
Linux x86_64 GNU/Linux
g
Hi, we’re in the process of releasing a new version to address this.
It should be out later today or you can use the pulumi-aws version prior to 4.5.0.
🙏 2
👍 1
b
Hi @broad-hairdresser-1495 There’s a patch release underway that fixes this right now
b
thanks
b
@broad-hairdresser-1495 4.5.1 is now available
👍 1
b
Works like a charm now with new version:
Copy code
# pulumi up
Previewing update (dev):
     Type                 Name                Plan
     pulumi:pulumi:Stack  1_Cloud_pulumi-dev
 +   └─ aws:ec2:Vpc       romlaz_test_pulumi  create

Resources:
    + 1 to create
    1 unchanged
with this version:
/root/.pulumi/plugins/resource-aws-v4.5.1
b
thanks for confirming! Sorry about the issue