Freelancer. Also a CoPilot @ Topcoder - a crowdsourcing company. I have 10+ years of experience working on Full Stack web development. Previously worked @ SAP
A better trigger would be the Post Confirmation trigger instead of the Pre sign-up one. The latter wouldn't be useful if the user creation fails in Cognito but the former one guarantees that the user exists in Cognito BEFORE they can be created in the database.
Software Architect & consultant (available for consulting), worldwide speaker, published author, workshops teacher and developer in Web/Cloud/Mobile/AR/VR/IoT/AI/Blockchain fields
A better trigger would be the
Post Confirmation
trigger instead of the Pre sign-up one. The latter wouldn't be useful if the user creation fails in Cognito but the former one guarantees that the user exists in Cognito BEFORE they can be created in the database.That's a good suggestion. I will make sure to try it out. Thanks!