Facing error in custom stage declaration in aws-nodejs-typescript

Hi,

You can look at my previous reply about this topic here. You can simply wrap your variable in double quotes and it should work. You won’t be able to use the template literals though (backticks).

Remember, because it’s a TS file, you can set your stage as a separate variable and then reference it whereever you need. I made an example in my previous post linked below.

1 Like