How to add TargetGroup for AutoScaling which is created via Elastic BeanStalk?

I have been trying to automate BeanStalk infrastructure via cloudformation / Terraform . I am unable to add LBTargetGroup to an AutoScaling Group.