sparse-intern-71089
02/14/2024, 12:28 AMrich-island-95413
02/14/2024, 12:29 AM[Container] 2024/02/14 00:18:27.278435 Running command pulumi plugin install resource aws
E0214 00:18:27.461775 322 plugins.go:430] GitHub rate limit exceeded for <https://api.github.com/repos/pulumi/pulumi-aws/releases/latest>, try again in 28m49.53822938s. You can set GITHUB_TOKEN to make an authenticated request with a higher rate limit.
error: rate limit exceeded: 403 HTTP error fetching plugin from <https://api.github.com/repos/pulumi/pulumi-aws/releases/latest>
[Container] 2024/02/14 00:18:27.519855 Command did not exit successfully pulumi plugin install resource aws exit status 255
rich-island-95413
02/14/2024, 12:34 AMInitializing Pulumi state
AWS_PROFILE=deployment \
pulumi login <s3://bucket-name>
Logged in to ip-10-186-48-50.us-west-2.compute.internal as root (<s3://bucket-name>)
AWS_PROFILE=deployment \
PULUMI_CONFIG_PASSPHRASE= \
pulumi preview --stack dev --config-file=Pulumi.dev.yaml
Previewing update (dev):
@ previewing update.......
pulumi:pulumi:Stack worker-dev go: downloading <http://github.com/pulumi/pulumi/sdk/v3|github.com/pulumi/pulumi/sdk/v3> v3.105.0
pulumi:pulumi:Stack worker-dev go: downloading <http://github.com/pulumi/pulumi-aws/sdk/v5|github.com/pulumi/pulumi-aws/sdk/v5> v5.43.0
...
@ previewing update..........................................................................E0214 00:22:44.349567 2415 plugins.go:430] GitHub rate limit exceeded for <https://api.github.com/repos/pulumi/pulumi-aws/releases/latest>, try again in 20m51.650437891s. You can set GITHUB_TOKEN to make an authenticated request with a higher rate limit.
pulumi:providers:aws default error: could not find latest version for provider aws: rate limit exceeded: 403 HTTP error fetching plugin from <https://api.github.com/repos/pulumi/pulumi-aws/releases/latest>
pulumi:providers:aws default 1 error
salmon-account-74572
02/14/2024, 3:26 PMGITHUB_TOKEN
value as suggested to authenticate to GitHub and get around the throttling. Are there concerns/issues with that approach?rich-island-95413
02/14/2024, 5:39 PMpulumi preview --stack stage --config-file=Pulumi.stage.yaml
Previewing update (stage):
E0213 22:14:38.142627 11522 plugins.go:430] GitHub rate limit exceeded for <https://api.github.com/repos/pulumi/pulumi-aws/releases/tags/v5.42.0>, try again in 32m8.857380047s. You can set GITHUB_TOKEN to make an authenticated request with a higher rate limit.
[resource plugin aws-5.42.0] installing
@ previewing update......
pulumi:pulumi:Stack acme-metadata-server-acme-metadata-server-prod-prod go: downloading <http://github.com/pulumi/pulumi/sdk/v3|github.com/pulumi/pulumi/sdk/v3> v3.78.1
pulumi:pulumi:Stack acme-metadata-server-acme-metadata-server-prod-prod go: downloading <http://github.com/pulumi/pulumi-aws/sdk/v5|github.com/pulumi/pulumi-aws/sdk/v5> v5.42.0
...
Resources:
~ 3 to update
+-1 to replace
4 changes. 65 unchanged
[Container] 2024/02/13 22:15:40.013638 Phase complete: BUILD State: SUCCEEDED
I saw this thread and thought maybe there was some fall back in place that somehow wasn't employed for the failing job.salmon-account-74572
02/14/2024, 5:42 PMrich-island-95413
02/14/2024, 5:42 PMrich-island-95413
02/14/2024, 5:43 PMsalmon-account-74572
02/14/2024, 5:44 PMrich-island-95413
02/14/2024, 5:44 PMsalmon-account-74572
02/14/2024, 5:45 PMrich-island-95413
02/14/2024, 5:46 PMsalmon-account-74572
02/14/2024, 7:02 PM<http://get.pulumi.com|get.pulumi.com>
for versions available.”
This explains why adding the explicit version works, but as you pointed out it still doesn’t explain why some environments need the explicit install and others don’t. (Although I do seem to recall that Pulumi YAML needs explicit plugin installs; are you using YAML at all?)rich-island-95413
02/14/2024, 7:11 PMrich-island-95413
02/14/2024, 7:17 PMGitHub rate limit exceeded for <https://api.github.com/repos/pulumi/pulumi-aws/releases/latest>
Whereas for the jobs that succeed we see:
GitHub rate limit exceeded for <https://api.github.com/repos/pulumi/pulumi-aws/releases/tags/v5.42.0>
Curious that for the failing job, it tries to get latest. I have to assume the version comes from go.mod/go.sum.salmon-account-74572
02/14/2024, 8:28 PM<http://get.pulumi.com|get.pulumi.com>
.
And yes, I would expect the version to get pulled from go.mod
.rich-island-95413
02/14/2024, 8:37 PMsalmon-account-74572
02/14/2024, 8:41 PMlatest
endpoint when the version is included in go.mod
.rich-island-95413
02/14/2024, 9:13 PMsalmon-account-74572
02/14/2024, 9:14 PMrich-island-95413
02/23/2024, 12:45 AMsalmon-account-74572
02/23/2024, 4:25 PM