Question regarding security group filter

21 views
Skip to first unread message

twlight

unread,
Jan 16, 2019, 11:30:30 AM1/16/19
to Packer
Hello,

I'm using the security_group_filter function however if i define multiple filters, I only get the first security group back from the filter. Is there a way to define either multiple filters to grab different security groups? Or a way to dynamically find multiple security group so i can pass them to packer?

Thank you.

Rickard von Essen

unread,
Jan 17, 2019, 7:52:21 AM1/17/19
to packe...@googlegroups.com
This will pick all security groups that matches all of the criteria. I suggest that you add a tag on all SG's that you need for packer and filter on that.

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/8cb7f288-3461-4c94-a35a-f67d06a5f551%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Shawn Baumkirchner

unread,
Jan 17, 2019, 8:19:06 AM1/17/19
to packe...@googlegroups.com
Thank you Rickard! Worked like a charm
Reply all
Reply to author
Forward
0 new messages