AWS Ansible question - How do you link an ec2_asg (security group) to a ecs_cluster

I’m attempting to automate the deployment of a project to an ecs_cluster in ansible.

I’ve created valid task definitions and services for said cluster, but I am am struggling to attach an ec2_asg to it. Thus not allowing the cluster to create and manage new tasks.

Please find the code for my current progress on this stack overflow link:

https://stackoverflow.com/questions/61482430/ansible-how-do-you-link-an-ec2-asg-to-a-ecs-cluster

Is there something obvious I’m missing in the playbook documentation?

Or am I going to need to affect the instances created by the auto scaling group in some way, as to attach them to the cluster instead?

Thanks in advance for any help.