Thanks for your reply, if i understood, i can use below syntax ...pls 
correct me if am worng

    ./packer build AzVmImage.json -var-file=varisbles.json

Ashish


On Thursday, 24 October 2019 10:48:10 UTC-5, Angel Rengifo Cancino wrote:
>
> 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] 
> <javascript:>> 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] <javascript:>.
>> 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/01695e8f-809c-4ba2-a7db-eca6deb5eda7%40googlegroups.com.

Reply via email to