Hi Everyone, 

I wanted to know if it's possible to have one file that can build in VMWare 
Workstation and AWS at the same time. I know a packer file can contain multiple 
builders, however there are slightly different ways to access the resources 
once they're up in each builder. 

For example when accessing an AWS instance you call the {{ .WinRMPassword }} 
variable to gain access, where as in Workstation I can provide the username and 
password. My thoughts are to change the AWS password via UserData when the 
instance is called to solve for this. 

However on my work station build I need to install VMWare-Tools, whereas this 
isn't required in AWS. I suppose I could have the script check for the 
environment type to make the decision if VMWare tools should be installed. 

I'm new to packer so I'd love to hear some feedback from the community on how 
to best approach this. 

Thanks, 

-- 
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/1214995427.3309.1548346033457.JavaMail.zimbra%40lethalnetworks.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to