param fix in ex_register_targets
@@ -174,11 +174,11 @@ class ApplicationLBDriver(Driver):
return target_group
- def ex_register_targets(self, target_group_id, members=[]):
+ def ex_register_targets(self, target_group, members=[]):
# mandatory params
params = {
'Action': 'RegisterTargets',
- 'TargetGroupArn': target_group_id
+ 'TargetGroupArn': target_group.get('id')
}
if not members:
