serverless-nested-stack moves CognitoUserPoolDevuserpool to ApiStack and PostConfirmationLambdaPermissionCognitoUserPoolDevuserpoolTriggerSourcePostConfirmation to the permisson stack. But permissons stack cannot see the pool definition from the ApiStack as it's not added to the Output.
Deployment of my stack fails with:
I have a Cognito trigger defined in my serverless.yml as:
serverless creates CloudFormation objects for the pool:
serverless-nested-stack moves
CognitoUserPoolDevuserpool
to ApiStack andPostConfirmationLambdaPermissionCognitoUserPoolDevuserpoolTriggerSourcePostConfirmation
to the permisson stack. But permissons stack cannot see the pool definition from the ApiStack as it's not added to the Output.