fixing hang after creation

This commit is contained in:
Evan Carter 2015-09-10 15:23:57 -04:00
parent 84b460d96d
commit 604578cfcc

View file

@ -215,8 +215,8 @@ def create_eni(connection, module):
raise
# Wait to allow creation / attachment to finish
wait_for_eni(eni, "attached")
eni.update()
changed = True
eni.update()
except BotoServerError as e:
module.fail_json(msg=get_error_message(e.args[2]))