Hi,
Could you provide a little more details about what needs to be changed? I have recently worked with cloud formation templates to create ops works stack with several layers, one of them containing a fully provisioned, load balanced and autoscaled ECS Cluster with docker instances.
It would be great to have a more in-depth view of the problem in order to know if my experience can help you.
Have a great day.