mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Fix credentials passing in boto_ec2.snapshot_created
This commit is contained in:
parent
48b2f506fb
commit
27ecac04a0
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user