I also have this issue. Were you able to resolve it?
On Monday, November 30, 2015 at 4:31:35 AM UTC-8, Sandeep Sharma wrote:
> I have three aws accounts so trying to use variable file for AMI
> "ami_users" : ["1111111111111", "222222222222", "333333333333"],
> "ami_regions": ["us-east-1", "eu-west-1"]
> ]# packer build -var-file=variables.json /tmp/test.json
> invalid value "variables.json" for flag -var-file: Error reading variables
> in 'variables.json': json: cannot unmarshal array into Go value of type
> Is this correct?
> Sandeep Sharma
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
To unsubscribe from this group and stop receiving emails from it, send an email
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.