hashicorp / packer-plugin-googlecompute

Packer plugin for Google Compute Builder
https://www.packer.io/docs/builders/googlecompute
Mozilla Public License 2.0
23 stars 51 forks source link

builder: add log for ssh_username with oslogin #165

Closed lbajolet-hashicorp closed 1 year ago

lbajolet-hashicorp commented 1 year ago

The ssh username picked from the account credentials was only printed out as a message when running Packer with the `--debug' flag, making it impossible to see when running unattended builds, like in tests for example.

To remedy this issue, and see the actual username derived from the credentials, we make this message a debug log so it's always visible when running Packer with `PACKER_LOG' set.