Closed ringods closed 1 year ago
Reported by @justinvp in https://github.com/pulumi/registry/issues/2439
For example: https://www.pulumi.com/registry/packages/time/installation-configuration/
Trying to run pulumi plugin install resource time v0.1.7 doesn't work for 2 reasons:
pulumi plugin install resource time v0.1.7
This plugin is hosted at a 3rd party URL, so it requires the --server flag:
--server
pulumi plugin install resource time v0.1.7 --server github://api.github.com/pulumiverse/pulumi-time
The above doesn't work, though, because there is no v0.1.7 version. (See https://github.com/pulumiverse/pulumi-time/releases). The latest release is v0.0.13.
v0.1.7
Either the latest version should be shown:
pulumi plugin install resource time v0.0.13 --server github://api.github.com/pulumiverse/pulumi-time
or, no version should be shown, in which case, if the URL is from GH, the CLI will determine and download the latest version:
pulumi plugin install resource time --server github://api.github.com/pulumiverse/pulumi-time
Reported by @justinvp in https://github.com/pulumi/registry/issues/2439
For example: https://www.pulumi.com/registry/packages/time/installation-configuration/
Trying to run
pulumi plugin install resource time v0.1.7
doesn't work for 2 reasons:This plugin is hosted at a 3rd party URL, so it requires the
--server
flag:The above doesn't work, though, because there is no
v0.1.7
version. (See https://github.com/pulumiverse/pulumi-time/releases). The latest release is v0.0.13.Suggestions
--server
flag is required for any schema that specifies a plugin download URL and this should be reflected in the registry docs.Either the latest version should be shown:
or, no version should be shown, in which case, if the URL is from GH, the CLI will determine and download the latest version: