aws-samples / ecs-cid-sample

In this code provided with the blog, we will demonstrate how to use the draining state to update the AMI used by EC2 instances in your cluster by updating the launch configuration of your auto-scaling group. The process also ensures that the EC2 instances get the tasks drained the tasks launch on new container instance before termination occurs.
Apache License 2.0
103 stars 76 forks source link

Duplicate SNS subscription #6

Open scytacki opened 7 years ago

scytacki commented 7 years ago

Perhaps I'm missing something, but it seems the template is subscribing the lambda function to the SNS topic twice. First here: https://github.com/awslabs/ecs-cid-sample/blob/master/cform/ecs.yaml#L418-L424

And then here: https://github.com/awslabs/ecs-cid-sample/blob/master/cform/ecs.yaml#L447-L455

sachin469 commented 7 years ago

I am in the same boat. were you able to figure out the issue here?