Hi all, I'm trying to see if it's possible to use packer to create an Azure Windows VM but use SSH instead of WinRM to connect to the VM?
"ssh_agent_auth": "true",
"ssh_timeout": "5m",
"ssh_username": "packer",
"ssh_password": "<password>",
Currently i'm getting this error and I have no idea what setting i'm missing.
I'm getting the following error when I use try build my image:
==> Some builds didn't complete successfully and had errors:
--> azure-arm: Code="DeploymentFailed" Message="At least one resource deployment operation failed. Please list deployment operations for details. Please see
https://aka.ms/arm-debug for usage details." Details=[{"code":"Conflict","message":"{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"CertificateImproperlyFormatted\",\r\n \"message\": \"The secret retrieved from https:/<keyvaultName>.
vault.azure.net/secrets/packerKeyVaultSecret/<GUID>" is empty string.\"\r\n }\r\n ]\r\n }\r\n}"}]
If anyone has had success with this it would be wonderful :)
Cheers