busy-napkin-83700
03/08/2023, 10:29 PM[resource plugin aws] installing
warning: Error downloading plugin: unknown version for plugin aws
Will retry in 80ms [1/5]
warning: Error downloading plugin: unknown version for plugin aws
Will retry in 160ms [2/5]
warning: Error downloading plugin: unknown version for plugin aws
Will retry in 320ms [3/5]
warning: Error downloading plugin: unknown version for plugin aws
Will retry in 640ms [4/5]
warning: Error downloading plugin: unknown version for plugin aws
Will retry in 1.28s [5/5]
error: [resource plugin aws] downloading from : failed to download plugin: aws: unknown version for plugin aws
pulumi plugin install resource aws
error: 401 HTTP error fetching plugin from <https://api.github.com/repos/pulumi/pulumi-aws/releases/latest>
billowy-army-68599
03/08/2023, 10:31 PMbusy-napkin-83700
03/08/2023, 10:31 PMbillowy-army-68599
03/08/2023, 10:36 PMcurl -i <https://api.github.com/repos/pulumi/pulumi-aws/releases/latest>
busy-napkin-83700
03/08/2023, 10:36 PMbillowy-army-68599
03/08/2023, 10:36 PMbusy-napkin-83700
03/08/2023, 10:36 PMbillowy-army-68599
03/08/2023, 10:37 PMbusy-napkin-83700
03/08/2023, 10:39 PMstraight-fireman-55591
03/09/2023, 8:55 AMGITHUB_TOKEN
doesn't help.
I use pulumi/pulumi:latest
image
$ pulumi preview
Previewing update (dev):
warning: A new version of Pulumi is available. To upgrade from version '3.56.0' to '3.57.0', visit <https://pulumi.com/docs/reference/install/> for manual instructions and release notes.
error: could not load plugin for gcp provider 'urn:pulumi:dev::xxxx::pulumi:providers:gcp::default': Could not automatically download and install resource plugin 'pulumi-resource-gcp', install the plugin using `pulumi plugin install resource gcp`.
Underlying error: 401 HTTP error fetching plugin from <https://api.github.com/repos/pulumi/pulumi-gcp/releases/latest>
pulumi plugin install resource gcp
brings the same error: error: 401 HTTP error fetching plugin from <https://api.github.com/repos/pulumi/pulumi-gcp/releases/latest>
echoing-dinner-19531
03/09/2023, 9:03 AMstraight-fireman-55591
03/09/2023, 9:14 AMechoing-dinner-19531
03/09/2023, 9:15 AMstraight-fireman-55591
03/09/2023, 9:17 AM- export GITHUB_TOKEN=${PULUMI_TOKEN_GITHUB}
to the pipeline, pulumi works.
I used <https://github.com/settings/personal-access-tokens/new> New fine-grained personal access token Beta
with Public Repositories (read-only)
Updated github ticket: https://github.com/pulumi/pulumi/issues/12379#issuecomment-1461658628echoing-dinner-19531
03/09/2023, 9:59 AM