Templates based on template

10 views
Skip to first unread message

griff...@gmail.com

unread,
Oct 3, 2018, 5:48:48 AM10/3/18
to Packer
Hello,

is it possible to include templates in another template so that you don't have to recreate an .json file?

Rickard von Essen

unread,
Oct 3, 2018, 6:09:33 AM10/3/18
to packe...@googlegroups.com
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 <griff...@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...@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.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages