I am trying to to create azure Linux using terraform . I am able to deploy the VM perfectly. but when I am trying to install some package using remote exec it get failed "Unable to read SSH key". As I am trying the script from my window laptop using power shell.
What my concern is how to call my private key for installing some packages inside connection block?
CodePudding user response:
I got answer using the below mention method https://www.codewrecks.com/post/devops/terraform-hello-world