ludovic-m / training-terraform

MIT License
4 stars 9 forks source link

Use new resource and explain how to create ssh with puttygen #1

Open AntoineGa opened 4 years ago

AntoineGa commented 4 years ago

Exporting ssh key from PuttyGen result in an error when using public key as explained here.

Moreover use azurerm_linux_virtual_machine over azurerm_virtual_machine

AntoineGa commented 4 years ago

As a workaround, copy public ssh key from PuttyGen instead of exporting as a file

ludovic-m commented 3 years ago

Replaced azurerm_virtual_machine with azurerm_linux_virtual_machine and put an example with user / password till the authentication with ssh key is fully documented