From 604578cfccdeb467221a8ef1ed9d7f7dc1fd78cb Mon Sep 17 00:00:00 2001 From: Evan Carter Date: Thu, 10 Sep 2015 15:23:57 -0400 Subject: [PATCH] fixing hang after creation --- cloud/amazon/ec2_eni.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/amazon/ec2_eni.py b/cloud/amazon/ec2_eni.py index 4d08aeb26d0..59a26291388 100644 --- a/cloud/amazon/ec2_eni.py +++ b/cloud/amazon/ec2_eni.py @@ -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]))