You can use qemu and the *-import post-processors to import it into all
three cloud providers. But you have to care for all the difference between
them in the same build.

Note that there is a googlecompute-import since v 1.2.5 but the link in the
docs index got lost on the site, but you can find it on:
https://www.packer.io/docs/post-processors/googlecompute-import.html

Just a word of warning in my own opinion it's most likely not worth
optimizing build time by increasing complexity. Maybe it's better
optimizing the install process of the software to make it faster to build
all three images. Or build in layers so most of the time you only have to
rebuild to small/fast top layer.

/ Rickard

On Mon, Aug 6, 2018, 11:48 myapp <[email protected]> wrote:

> Hello Team
>
> We are building our product Appliances in AWS, Azure, GC and VMware.
> Current process is tedious where we build the appliances separately for
> each provider. Is there a way by which I can create images for all the
> providers from single source instance. Source instance can run on AWS or
> VMware.
>
> regards
>
> --
> 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/d8aefa6f-e89c-407d-8e88-fbafde2f07cb%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/d8aefa6f-e89c-407d-8e88-fbafde2f07cb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CALz9Rt8bdbGCMzLMAewiuvxHxriwrYgtK2E3VJv-f2cEcJM-kw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to