what's the correct way to get the stack prefix for...
# general
m
what's the correct way to get the stack prefix for my app? i.e. the
stage-appname
string? i.e. the first part of what
logicalPrefixedName
returns? I can do
app.stage + "-" + app.name
but that feels lame.
a
If you don't want to do that, the other approach I have taken is:
Copy code
const namespace = scope.logicalPrefixedName("").slice(0, -1);