hi. thanks for sharing this. I gad to do this few months ago and I get you how painfull it is. Alternatively you can create the cognito by aws cli, afaik. But note that cognito pool is one time action. you can create it manually via console (but document all details), and refer to the cognito (hardcode) within your template.