Added variables to templates, added .json files to overcome the packer bug on -only param