I have been looking at the terraform elastic load balancer resources and noticed that there are stickiness resource blocks inside a listener (aws_lb_listener > default_action > forward > stickiness ) and target group .
Is there any difference between the two if one is forwards requests to the associated target group?
should one configure them both in similar ways if you want that sticky behaviour ?
is it better to configure stickiness on the target group instead?