> String region = > AWSUtils.getRegionFromLocationOrNull(group.getLocation()); > String name = group.getName(); > + String id = > Iterables.get(client.getSecurityGroupApi().get().describeSecurityGroupsInRegion(region, > name), 0).getId();
[Iterables.getOnlyElement](http://guava-libraries.googlecode.com/svn/tags/release02/javadoc/com/google/common/collect/Iterables.html#getOnlyElement\(java.lang.Iterable\))? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/117/files#r5806137
