amazon-archives / aws-amplify-serverless-plugin

Plugin for the Serverless Framework to output AWS Amplify configuration files.
Apache License 2.0
124 stars 30 forks source link

Error when using UserPool created in a different stack #52

Open isocra opened 5 years ago

isocra commented 5 years ago

We've got several stacks (to keep the number of resources down) and we create the UserPool in a different stack to the one for amplify/appsync.

Everything works OK (the stack and all the resources are created successful), until this plugin tries to process the UserPool. On line 178 or so, it tries to get userPoolResource.PhysicalResourceId, but userPoolResource is undefined.

Any idea how I can get round this?