It's a list of strings (CIDRs) [ "10.0.0.0/16" ].
On Thu, Aug 8, 2019, 09:22 John Roh <johnroh2...@gmail.com> wrote: > Hi there? > I need to figure out how to define mutiple cidrs while the packer build > runs. > Per documentation, temporary_security_group_source_cidrs > <https://packer.io/docs/builders/amazon-ebs.html#temporary_security_group_source_cidrs> > (list > of string) - A list of IPv4 CIDR blocks to be authorized access to the > instance, when packer is creating a temporary security group.". > > I must be defined wrong that I'm getting the error message as below. > 'temporary_security_group_source_cidrs': source data must be an array or > slice, got map > > What might be the appropriate way to define the multiple cdirs? > > Thank you in advance, > > John. > > -- > 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/250cf400-53cf-4e08-a774-4762c559c2dc%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/250cf400-53cf-4e08-a774-4762c559c2dc%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 packer-tool+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt90k0XK-CrpVc2sbOWLRmRgbqDzSskmKWcMQf9uWTnFNA%40mail.gmail.com.