hashicorp/packer

Packer should be able to prompt for passwords

Open

#8466 opened on Dec 9, 2019

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Go (13,697 stars) (3,228 forks)batch import
enhancementhelp wanted

Description

Packer should prompt user to enter password when using a password protected private key file instead of throwing an error message.

Feature Description

nice to have

Use Case(s)

packer validate myfile.yml packer build myfile.yml

Configuration used

... "builders": [ { "type": "provider", "organization_id": "{{ user organization_id }}", "api_token": "{{ user api_token }}", "image": "{{ user image_name }}", "region": "par1", "commercial_type": "GPU1-M", "ssh_private_key_file": "< PATH TO A PASSWORD PROTECTED KEY FILE >", "ssh_username": "root" } ], ...

Contributor guide