Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

update lifecyclehook #6

Open
pahud opened this issue Jun 12, 2019 · 0 comments
Open

update lifecyclehook #6

pahud opened this issue Jun 12, 2019 · 0 comments

Comments

@pahud
Copy link
Owner

pahud commented Jun 12, 2019

ASGTerminateHook:
Condition: ECSLambdaDrainCond
Type: "AWS::AutoScaling::LifecycleHook"
Properties:
AutoScalingGroupName: !Ref ASGDefault
DefaultResult: "ABANDON"
HeartbeatTimeout: "300"
LifecycleTransition: "autoscaling:EC2_INSTANCE_TERMINATING"
NotificationTargetARN: !Ref ASGSNSTopic
RoleARN:
Fn::GetAtt:
- "SNSLambdaRole"
- "Arn"
DependsOn: "ASGSNSTopic"

make it send to cloudwatch event only without using SNS. Just like

https://github.com/pahud/eks-templates/blob/cbceb979c9da6bddaa30c22bbfa94dac5dfb69e7/cloudformation/nodegroup.yaml#L425-L432

@pahud pahud changed the title updat lifecyclehook update lifecyclehook Jun 12, 2019
pahud added a commit that referenced this issue Jun 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant