Was anyone able to resolve this? I'm still hitting this problem.

On Friday, June 26, 2020 at 4:41:21 AM UTC-7 [email protected] wrote:

> Hello there,
>
> Were you able to resolve this error? Have you been able to build windows 
> vms on azure using ssh?
>
> Thanks,
> Kiran Hegde
>
> On Monday, June 17, 2019 at 9:49:56 AM UTC+5:30, Rolz64 wrote:
>>
>> 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?
>>
>> Are these all the ssh settings I need or am I missing something? 
>>      "communicator": "ssh",
>>      "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. 
>> https://www.packer.io/docs/templates/communicator.html
>>
>> 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
>>
>>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/hashicorp/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/d5f895fb-9e31-43ed-bb96-2b474738aeafn%40googlegroups.com.

Reply via email to