Prevent AWS CodeDeploy from adding a lifecycle hook to an Auto-scaling group when creating a deployment group?
Recent functionality added to AWS CodeDeploy causes it to add a lifecycle hook to an Auto-scaling group whenever that Auto-scaling group has been targeted by a new deployment group. The lifecycle hook causes a deployment to be triggered whenever a new instance is spun up by the ASG. I don't want this lifecycle hook to be created, but there doesn't seem to be any way that I can see to prevent it from being created automatically. I can always go in and delete the lifecycle hook after the fact, but it would be great if I could just prevent it from being created in the first place. How can I preempt the lifecycle hook?
Since you are not interested in the ASG lifecycle events, change your codedeploy's deployment group configuration to an ELB or just EC2 instance tags to which you want to deploy instead of specifying an ASG. This should solve your problem, but not recommended.
EC2 hourly usage alarm
New domain on aws elastic beanstalk
How can i use wildcards in EC2 commands
The specified key does not exist - While copying S3 object from one bucket to another
Can inotifywait be used with a mounted S3 bucket?
Why can't I connect to AWS using awscli?
AWS EBS references
Cloud Foundry router cannot find api.xx.xxxx.com/info (AWS)
Queue with multiple columns?
Is there a way I can add DEFAULT cache control to a bucket in S3?
AWS datapipeline success based triggering
Amazon S3 Lifecycle rules Prefix to move files to Glacier with certain naming convention
How to link developer authenticated user across devices in Cognito
Does many AWS OpsWorks apps = many stacks? What about shared resources
LAMP not working on ec2 server?
Issue to deploy a wordpress website through ElasticBeanstalk