Merge pull request #1414 from wangqiang8511/issu_fix_1302
Do instance update after add tags to instance.
This commit is contained in:
commit
784589eede
1 changed files with 1 additions and 0 deletions
|
@ -1025,6 +1025,7 @@ def create_instances(module, ec2, vpc, override_count=None):
|
||||||
instance_dict_array = []
|
instance_dict_array = []
|
||||||
created_instance_ids = []
|
created_instance_ids = []
|
||||||
for inst in running_instances:
|
for inst in running_instances:
|
||||||
|
inst.update()
|
||||||
d = get_instance_info(inst)
|
d = get_instance_info(inst)
|
||||||
created_instance_ids.append(inst.id)
|
created_instance_ids.append(inst.id)
|
||||||
instance_dict_array.append(d)
|
instance_dict_array.append(d)
|
||||||
|
|
Loading…
Reference in a new issue