Serverless: Deprecation warning: Variables resolver reports following resolution errors:
- Cannot resolve variable at "provider.environment.CUBEJS_APP": Value not found at "self" source,
- Cannot resolve variable at "functions.cubejsProcess.events.0.event.resource": Value not found at "self" source
From a next major this will be communicated with a thrown error.
Set "variablesResolutionMode: 20210326" in your service config, to adapt to new behavior now
More Info: https://www.serverless.com/framework/docs/deprecations/#NEW_VARIABLES_RESOLVER
If you are interested in working on this issue, please leave a comment below and we will be happy to assign the issue to you.
If this is the first time you are contributing a Pull Request to Cube.js, please check our contribution guidelines.
You can also post any questions while contributing in the #contributors channel in the Cube.js Slack.
Thanks for posting this issue; we'd be more than happy to review and merge any PRs fixing this deprecation. The relevant part of the codebase can be found here
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should use self variable fine
Version:
0.27
The text was updated successfully, but these errors were encountered: