sparse-intern-71089
08/31/2023, 6:10 PMlimited-rainbow-51650
09/01/2023, 6:29 AMlimited-rainbow-51650
09/01/2023, 6:35 AMcurl -o releases.json <https://api.github.com/repos/pulumi/pulumi-converter-terraform/releases/latest>
If a releases.json
file is correctly written, we can exclude any network hiccups.bumpy-apartment-942
09/01/2023, 12:41 PMbumpy-apartment-942
09/01/2023, 12:44 PMlimited-rainbow-51650
09/01/2023, 12:55 PMpulumi plugin ls
?bumpy-apartment-942
09/01/2023, 12:57 PMbumpy-apartment-942
09/01/2023, 12:57 PMlimited-rainbow-51650
09/01/2023, 1:00 PMpulumi plugin rm resource terraform
and then run your pulumi convert
command again?bumpy-apartment-942
09/01/2023, 1:07 PMpulumi convert --from terraform --language python --out pulumi
Converting from terraform...
error: install plugin source "terraform": could not find latest version for provider terraform: 401 HTTP error fetching plugin from <https://api.github.com/repos/pulumi/pulumi-converter-terraform/releases/latest>
limited-rainbow-51650
09/01/2023, 1:09 PMpulumi plugin install converter terraform
bumpy-apartment-942
09/01/2023, 1:10 PMpulumi plugin install converter terraform
error: 401 HTTP error fetching plugin from <https://api.github.com/repos/pulumi/pulumi-converter-terraform/releases/latest>
limited-rainbow-51650
09/01/2023, 1:10 PMpulumi about
?bumpy-apartment-942
09/01/2023, 1:11 PM$ pulumi about
CLI
Version 3.79.0
Go Version go1.21.0
Go Compiler gc
Host
OS darwin
Version 13.5.1
Arch x86_64
Backend
Name <http://pulumi.com|pulumi.com>
URL <https://app.pulumi.com/thpang>
User thpang
Organizations thpang
Pulumi locates its logs in /var/folders/03/t8b5lp5s7b37py0wwtyvckym0000gn/T/ by default
warning: Failed to read project: no Pulumi.yaml project file found (searching upwards from /Users/thpang/work/sandbox/pulumi/viya4-iac-k8s). If you have not created a project yet, use `pulumi new` to do so: no project file found
warning: Failed to get information about the current stack: no Pulumi.yaml project file found (searching upwards from /Users/thpang/work/sandbox/pulumi/viya4-iac-k8s). If you have not created a project yet, use `pulumi new` to do so: no project file found
echoing-dinner-19531
09/01/2023, 1:16 PMbumpy-apartment-942
09/01/2023, 1:17 PMechoing-dinner-19531
09/01/2023, 1:17 PMGITHUB_TOKEN="" pulumi plugin install converter terraform
bumpy-apartment-942
09/01/2023, 1:18 PMechoing-dinner-19531
09/01/2023, 1:19 PMbumpy-apartment-942
09/01/2023, 1:19 PMDownloading pulumi-3.80.0-py3-none-any.whl.metadata (11 kB)
ERROR: Could not find a version that satisfies the requirement pulumi-local==0.0.1 (from versions: 0.1, 0.2.0, 0.3, 0.4, 0.5, 0.6, 1.0, 1.1)
ERROR: No matching distribution found for pulumi-local==0.0.1
error: installing dependencies failed; rerun manually to try again, then run `pulumi up` to perform an initial deployment: installing dependencies via '/Users/thpang/work/sandbox/pulumi/viya4-iac-k8s/pulumi/bin/python -m pip install -r requirements.txt': exit status 1
echoing-dinner-19531
09/01/2023, 1:21 PMbumpy-apartment-942
09/01/2023, 1:22 PMechoing-dinner-19531
09/01/2023, 1:22 PMlimited-rainbow-51650
09/01/2023, 1:23 PMGITHUB_TOKEN
setting: pulumi
CLI uses that token to make authenticated calls to Github to prevent bumping in API rate limits. Authenticated calls have much higher limits. But your github token needs to be (re)configured to allow access to public repositories.bumpy-apartment-942
09/01/2023, 1:24 PMbumpy-apartment-942
09/01/2023, 1:30 PMgo: viya4-iac-k8s imports
<http://github.com/pulumi/pulumi-std/sdk/v1/go/std|github.com/pulumi/pulumi-std/sdk/v1/go/std>: module <http://github.com/pulumi/pulumi-std/sdk@latest|github.com/pulumi/pulumi-std/sdk@latest> found (v0.0.0-20230607001730-519a13f355b7), but does not contain package <http://github.com/pulumi/pulumi-std/sdk/v1/go/std|github.com/pulumi/pulumi-std/sdk/v1/go/std>
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
echoing-dinner-19531
09/06/2023, 4:36 PMAh that looks wrong, I think that's a codegen bug though. It should just beCopy code<http://github.com/pulumi/pulumi-std/sdk/v1/go/std|github.com/pulumi/pulumi-std/sdk/v1/go/std>
<http://github.com/pulumi/pulumi-std/sdk/go/std|github.com/pulumi/pulumi-std/sdk/go/std>
I think. I'll see if we can get the Go codegen fixed to account for that.