Cognito CustomMessage Lambda not automatically selected

I’m in the process of customizing my Cognito messages (signup, forgot password, etc) and the documentation worked perfectly code-wise, but only after I manually attached the Lambda function to the CustomMessage Event in Cognito (I saw immediately that there was no CloudWatch log generated). Should that not be attached by default?