If a user pool has a custom domain, add-cognito-user-pool-trigger fails as AWS parameter validation fails because the Domain attribute is sent back, but not expected.
It seems like an easy fix: add-cognito-user-pool-trigger.js, `cleanUpPoolConfig', add 'Domain' to the array of attributes to remove.
If a user pool has a custom domain,
add-cognito-user-pool-trigger
fails as AWS parameter validation fails because theDomain
attribute is sent back, but not expected.It seems like an easy fix:
add-cognito-user-pool-trigger.js
, `cleanUpPoolConfig', add 'Domain' to the array of attributes to remove.I tried this locally and that seems to work.