No, you have to preprocess your template. Useful tools for this is jq or a scripting language (Python, Ruby, etc).
On Wed, Oct 3, 2018 at 11:48 AM <griffin...@gmail.com> wrote: > Hello, > > is it possible to include templates in another template so that you don't > have to recreate an .json file? > > -- > 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 packer-tool+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/3f715a5c-fba6-40dc-ac48-fe984dd592b5%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/3f715a5c-fba6-40dc-ac48-fe984dd592b5%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 packer-tool+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt8j0%2BZMKKXS3HuaSQU4PsUBkeNLf%2Bb33i0G3dr96HAt-g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.