Cast target port to an int in elb_target_group. Fixes #32098 (#32202)

(cherry picked from commit 17a008654a)
pull/32198/head
Marc Mercer 8 years ago committed by Toshio Kuratomi
parent caa3a3618b
commit 10d6e1be90

@ -458,7 +458,7 @@ def create_or_update_target_group(connection, module):
instances_to_add = []
for target in params['Targets']:
if target['Id'] in add_instances:
instances_to_add.append(target)
instances_to_add.append({'Id': target['Id'], 'Port': int(target['Port'])})
changed = True
try:

Loading…
Cancel
Save