https://serverless-stack.com/ logo
#sst
Title
# sst
a

Adrián Mouly

08/04/2021, 5:59 AM
Can not find it but… Is there a way to define Lambda function name? Currently having this:
Copy code
pr149-tasks-stack-LambdaDELETEtaskstaskId55457B-Phy8XB3Kr1eU
a

Adrián Mouly

08/04/2021, 7:18 AM
Thank you sir.
f

Frank

08/04/2021, 5:50 PM
Thanks @Michael Wolfenden for chiming in!
@Adrián Mouly, what’s a naming convention you are thinking to use?
a

Adrián Mouly

08/04/2021, 6:14 PM
I have something like..
Copy code
const taskEventBusName = `${scope.stage}-${scope.name}-tasks`;
But not sure if this is correct, I want to follow the same as SST follows.
I mean I saw that it’s like…
$stage-$appName-$resource
right?
That’s what is used for SST constructs?
Ah sorry I messed my messages….
I’ve sent an example of a Bus, but well, it’s the same for Lambdas… but what is the recommended way?