Merge pull request #1414 from wangqiang8511/issu_fix_1302

Do instance update after add tags to instance.
This commit is contained in:
Benno Joy 2015-05-25 07:56:55 +05:30
commit 784589eede

View file

@ -1025,6 +1025,7 @@ def create_instances(module, ec2, vpc, override_count=None):
instance_dict_array = []
created_instance_ids = []
for inst in running_instances:
inst.update()
d = get_instance_info(inst)
created_instance_ids.append(inst.id)
instance_dict_array.append(d)