From 55c853c348ca0d85c64c61b8e5d6db142b32cc5c Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Sat, 5 Jul 2014 11:08:21 +0200 Subject: [PATCH] Fix call to boto get_all_images() --- bootstrapvz/providers/ec2/tasks/ami.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrapvz/providers/ec2/tasks/ami.py b/bootstrapvz/providers/ec2/tasks/ami.py index 61ef26e..dcf90ae 100644 --- a/bootstrapvz/providers/ec2/tasks/ami.py +++ b/bootstrapvz/providers/ec2/tasks/ami.py @@ -21,7 +21,7 @@ class AMIName(Task): ami_name = info.manifest.image['name'].format(**info.manifest_vars) ami_description = info.manifest.image['description'].format(**info.manifest_vars) - images = info._ec2['connection'].get_all_images(owner=['self']) + images = info._ec2['connection'].get_all_images(owners=['self']) for image in images: if ami_name == image.name: msg = 'An image by the name {ami_name} already exists.'.format(ami_name=ami_name)