jsiebens / terraform-equinix-faasd

Terraform Module for how to deploy a faasd instance on Equinix Metal
MIT License
2 stars 1 forks source link

Add instructions for querying or adding a project-level SSH key #2

Closed alexellis closed 3 years ago

alexellis commented 3 years ago

If you could add instructions for querying or adding a project-level SSH key, it would be most helpful.

I can't seem to make any progress here because I can't find a way to query the IDs of the project ssh keys, after adding them via the UI. The metal CLI also only lists user-level SSH keys.

jsiebens commented 3 years ago

The Equinix Metal Terraform provider has a datasource to retrieve a Project SSH key and its attributes

An example is now available to illustrate this See commit 1f7567a