I am trying to find a way of setting up ssh connection when creating a vm with terraform. I would like to be able to to copy my ssh key stored on my local machine to the remote machine being created by terraform.
I have looked at using local-exec or remote-exec but had no luck so far and cannot find much online.
Thanks for any advice
New contributor
Richie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1