This might help someone, especially for existing user pools:
cognitoUserPool: {
pool: "**POOL NAME (NOT ID, NOT ARN)**",
trigger: "PreAuthentication",
**existing: true,**
// This flag (forceDeploy) has to be used in conjunction with the existing: true flag.
// (https://www.serverless.com/framework/docs/providers/aws/events/cognito-user-pool#forcing-deploying-of-triggers)
**forceDeploy: true**
},