diff --git a/pkg/cloud/services/autoscaling/lifecyclehook.go b/pkg/cloud/services/autoscaling/lifecyclehook.go index 97e6be51ac..69e9df45aa 100644 --- a/pkg/cloud/services/autoscaling/lifecyclehook.go +++ b/pkg/cloud/services/autoscaling/lifecyclehook.go @@ -151,6 +151,8 @@ func getLifecycleHookSpecificationList(lifecycleHooks []expinfrav1.AWSLifecycleH timeoutSeconds := hook.HeartbeatTimeout.Duration.Seconds() spec.HeartbeatTimeout = aws.Int64(int64(timeoutSeconds)) } + + ret = append(ret, spec) } return