ivoronin / packer-plugin-sshkey

Packer plugin used to generate SSH keys.
18 stars 10 forks source link

No release version found on packer init #2

Closed ProfDrToast closed 3 years ago

ProfDrToast commented 3 years ago

When I try to install the plugin via packer init, it complains that it can't find a suitable version:

no release version found for the github.com/ivoronin/sshkey plugin matching the constraint(s): "0.1.0"

If I change the repo url to "packer-plugin-sshkey", it complains about the prefix "packer-plugin".

Error: Invalid plugin type

  on packer.json.pkr.hcl line 4, in packer:
   4:           sshkey = {
   5:                   version = "0.1.0"
   6:                   source = "github.com/ivoronin/packer-plugin-sshkey"
   7:           }

Plugin source "github.com/ivoronin/sshkey" has a type with the prefix
"packer-plugin-", which isn't valid. Although that prefix is often used in the
names of version control repositories for Packer plugins, plugin source strings
should not include it.

Did you mean "github.com/ivoronin/sshkey"?
ivoronin commented 3 years ago

Could you please provide packer version output and full packer {} stanza?

ProfDrToast commented 3 years ago

NVM, now it works...

sorry for bothering you