-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serverles-lift fails to create queues, if stage name is passed from a custom variable #123
Comments
I was able to reproduce with a setup similar to yours. The error you have is linked to your You should even see that
Moving the config file inside the project directory or setting Let me know if that works for you. |
Hi @t-richard, Thanks for the quick reply. Yes you are correct. Once I moved it inside project directory, it worked. However I still feel this is a bug. Here is my reasoning. Configs files can be anywhere, we should be able to refer to it as long we have system file access for the user. I don't experience this issue w.r.t my own plugins or some other plugin I use. I guess serverless-lift is restricting it to project directory. Saying that, for me it make sense to keep configs at one level higher. As I have multiple small projects which I combine in one repo. Here is my structure
So in my case, although it's doable to bring configs under each project, that just not preferred If you don't feel this is a bug, please feel free to close this issue. |
This warning is not coming from Lift but from the Serverless framework itself. The docs states the following
Not sure why you don't encounter this in your other projects though. Maybe you are using an older version of the framework in those projects ? Or you defined the In any way, we can't really do something about it in Lift. |
Serverles-lift fails to create queues, if stage name is passed from a custom variable
The following configuration won't work
This fails with exception
I tried to find the reason by adding the
console.log
at this place in Queue.tsThe output indicated that custom variable did not get resolved and hence the error
However if I change the stage variable to
it works perfectly.
The text was updated successfully, but these errors were encountered: