You can use "-var YourVar=YourValue" or "-var-file=vars-files.json" as arguments to packer build command.
Does that help? On Tue, Oct 22, 2019 at 5:01 PM Ashish Ashish <[email protected]> wrote: > Hii all, > > I am wondering how can i pass the variables file in packer, the variables > file contains client_id, client_secret, subscription id, tenant_id, > > > I am using VS code for deployment, any suggestions ? > > Thanks > Ashish > > -- > 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/6246cb21-f4ad-4a5c-97ff-ed7a08a429e3%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/6246cb21-f4ad-4a5c-97ff-ed7a08a429e3%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAA3McK9sME-YO2bY9-RZpta0%3DHKdQQX0L78Qjo9%2Bq5m6vwwMew%40mail.gmail.com.
