Hi, there.

I'm reading https://www.packer.io/docs/builders/googlecompute.html to make 
a VM image on GCP and wondering how to specify the service account which is 
attached to the vm instance to make the image.
The document says that account_file option works for such a use case but, 
when it comes to a process running on a VM instance, any process has 
permission to use the instance default service account without any JSON key 
file and, I think, the packer process should also be able to use the 
service account without any JSON key file to start a VM.

Is there any good option or good practice to start an VM without specifying 
a JSON key file?

Best,

--
Kohei Kawasaki

-- 
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/mitchellh/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/c0f82cfb-e80d-4c83-8130-b7a04e6ad2a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to