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: > > Hi > > > I have three aws accounts so trying to use variable file for AMI > permission. > > variables.json > > { > "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 > string > > > Is this correct? > > Regards > 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 "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/69f3e0be-fb7d-4875-9903-5b65f75a01b6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.