You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2020. It is now read-only.
error:
Error: invalid reference ${cognitoUserPool.app.poolId}
at Object.<anonymous> (/usr/local/lib/node_modules/serverless/node_modules/@serverless/template/utils.js:59:17)
at walker (/usr/local/lib/node_modules/serverless/node_modules/traverse/index.js:190:22)
at /usr/local/lib/node_modules/serverless/node_modules/traverse/index.js:208:29
at Array.forEach (<anonymous>)
at forEach (/usr/local/lib/node_modules/serverless/node_modules/traverse/index.js:298:31)
at walker (/usr/local/lib/node_modules/serverless/node_modules/traverse/index.js:203:13)
at /usr/local/lib/node_modules/serverless/node_modules/traverse/index.js:208:29
at Array.forEach (<anonymous>)
at forEach (/usr/local/lib/node_modules/serverless/node_modules/traverse/index.js:298:31)
at walker (/usr/local/lib/node_modules/serverless/node_modules/traverse/index.js:203:13)
4s › usersLambda › Error: invalid reference ${cognitoUserPool.app.poolId}
Why would you want to do this?
When creating Serverless Components, you need to save state (e.g. this.save()) and it's much easier to logically group things together (by a key) than to have it all be flat inside the Template.cognitoUserPool.json object.
The text was updated successfully, but these errors were encountered:
Currently it appears to not be possible to reference a nested state object inside the
serverless.yml
file.serverless.yml:
state file (Template.cognitoUserPool.json):
Error:
Why would you want to do this?
When creating Serverless Components, you need to save state (e.g.
this.save()
) and it's much easier to logically group things together (by a key) than to have it all be flat inside theTemplate.cognitoUserPool.json
object.The text was updated successfully, but these errors were encountered: