Fix credentials passing in boto_ec2.snapshot_created

This commit is contained in:
EYJ 2015-11-12 16:04:23 +01:00
parent 48b2f506fb
commit 27ecac04a0

View File

@ -567,7 +567,7 @@ def snapshot_created(name, ami_name, instance_name, wait_until_available=True, w
starttime = time()
while True:
images = __salt__['boto_ec2.find_images'](ami_name=ami_name, return_objs=True)
images = __salt__['boto_ec2.find_images'](ami_name=ami_name, return_objs=True, **kwargs)
if images and images[0].state == 'available':
break
if time() - starttime > wait_timeout_seconds: