hashicorp/packer

Packer should be able to prompt for passwords

Open

#8,466 opened on Dec 9, 2019

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

Repository metrics

Stars
 (13,697 stars)
PR merge metrics
 (Avg merge 5d 6h) (9 merged PRs in 30d)

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