sparse-intern-71089
03/08/2023, 10:29 PMbusy-napkin-83700
03/08/2023, 10:29 PMpulumi plugin install resource aws
error: 401 HTTP error fetching plugin from <https://api.github.com/repos/pulumi/pulumi-aws/releases/latest>
billowy-army-68599
busy-napkin-83700
03/08/2023, 10:31 PMbillowy-army-68599
curl -i <https://api.github.com/repos/pulumi/pulumi-aws/releases/latest>
busy-napkin-83700
03/08/2023, 10:36 PMbillowy-army-68599
busy-napkin-83700
03/08/2023, 10:36 PMbusy-napkin-83700
03/08/2023, 10:37 PMbillowy-army-68599
busy-napkin-83700
03/08/2023, 10:39 PMbusy-napkin-83700
03/08/2023, 10:40 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 AMstraight-fireman-55591
03/09/2023, 9:30 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 AMechoing-dinner-19531
03/09/2023, 4:29 PM