title: Cloudformation template for creating ECS service stuck in CREATE_IN_PROGRESS
body: <p>I am creating an AWS ECS service using Cloudformation.</p>
  
  <p>Everything seems to complete successfully, I can see the instance being attached to the load-balancer, the load-balancer is declaring the instance as being healthy, and if I hit the load-balancer I am successfully taken to my running container. </p>
  
  <p>Looking at the ECS control panel, I can see that the service has stabilised, and that everything is looking OK. I can also see that the container is stable, and is not being terminated/re-created.</p>
  
  <p>However, the Cloudformation template never completes, it is stuck in <code>CREATE_IN_PROGRESS</code> until about 30-60 minutes later, when it rolls back claiming that the service did not stabilise. Looking at CloudTrail, I can see a number of <code>RegisterInstancesWithLoadBalancer</code> instantiated by <code>ecs-service-scheduler</code>, all with the same parameters i.e. same instance id and load-balancer. I am using standard IAM roles and permissions for ECS, so it should not be a permissions issue.</p>
  
  <p>Anyone had a similar issue?</p>