mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Do instance update after add tags to instance.
This commit is contained in:
parent
20301427f8
commit
86b6f39cf0
1 changed files with 1 additions and 0 deletions
|
@ -1021,6 +1021,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)
|
||||
|
|
Loading…
Reference in a new issue