hashicorp / hashicorp/packer-plugin-amazon
Can the password be emitted to stdout when PACKER_LOG is enabled?
- Dominant language
- Go
- Stars
- 91
- Forks
- 141
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 3
Description
Please search the existing issues for relevant feature requests, and use the
reaction feature
(https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)
to add upvotes to pre-existing requests.
#### Community Note
Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
#### Description
In 2015, a change was made to emit the password retrieved from the EC2 instance when the `-debug` flag was provided:
https://github.com/hashicorp/packer/issues/2336
It would also be useful if the password was emitted when debug logging (e.g. `PACKER_LOG=1`) is enabled.
#### Use Case(s)
Those who create Packer images in CI environments cannot use the `-debug` flag as the build pauses / hangs at:
```
Pausing after run of step 'StepPreValidate'. Press enter to continue.
```
Contributor guide
Assessment
This issue has not been assessed yet.