Closed firecyberice closed 2 years ago
Thanks for creating this, it's an interesting suggestion. We will take a look and prioritize accordingly.
Maybe we can allow ssk_key_path
to take also keys directly, not only files and put a note that it will be renamed at a certain date to ssh_keys
.
re-open until release
Use-cases
When I create a ssh-key with terraform I need to save it to a file to be usable by:
Attempted Solutions
I would prefer to have something like
ssh_keys = ["ssh key 1", "ssh key 2"]
instead. Please note the plural form keys as it is an array and not just a single key(string)Proposal
For backwards compatibility one can adjust the resource like depicted in this example.
cat main.tf
You just need to execute:
References:
Other Cloud providers also reference the file content directly. And they manage sshkeys as dedicated resources.