Permalink
Browse files

Print out the SecurityGroup name, not the ID

  • Loading branch information...
1 parent 73d721a commit 65bd26224e8d100ea62dfee8c02bd70f66d64c5c @kopertop kopertop committed Jan 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/list_instances
View
@@ -64,7 +64,7 @@ def main():
print format_string % headers
print "-" * len(format_string % headers)
for r in ec2.get_all_instances():
- groups = [g.id for g in r.groups]
+ groups = [g.name for g in r.groups]
for i in r.instances:
i.groups = ','.join(groups)
print format_string % tuple(get_column(h, i) for h in headers)

0 comments on commit 65bd262

Please sign in to comment.