parent
104934c095
commit
17a008654a
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ def create_or_update_target_group(connection, module):
|
||||||
instances_to_add = []
|
instances_to_add = []
|
||||||
for target in params['Targets']:
|
for target in params['Targets']:
|
||||||
if target['Id'] in add_instances:
|
if target['Id'] in add_instances:
|
||||||
instances_to_add.append(target)
|
instances_to_add.append({'Id': target['Id'], 'Port': int(target['Port'])})
|
||||||
|
|
||||||
changed = True
|
changed = True
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue