Hello since the metadata is different, better to have them separate.
Have a look here: https://github.com/hashicorp/atlas-packer-vagrant-tutorial/blob/master/template.json#L93-L112 Alvaro. On Mon, Nov 7, 2016 at 1:04 PM, <[email protected]> wrote: > Hi, > I am trying to use Atlas for the first time. I have a packer image for > which I am using both AWS and VirtualBox builders. When I push to Atlas, > is there a way to specify Atlas post-process one time for all the types of > builders? Is there a variable that will tell the artifact_type? > > Or the only option is to use 2 separate post process blocks with "only" > restriction? > > 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/70e61ac0-d9d5-4e3b-9854-2ab1f3a77fed%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/70e61ac0-d9d5-4e3b-9854-2ab1f3a77fed%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro -- 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/CAHqq0ezgCB6LXwdm3iR0QZW6JN7Z9Uy-t_PONNRzk5ZCZqtj6w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
