thdxr
08/27/2021, 2:22 PMMyStack
it gets deployed as dev-app-MyStack which maybe suggests I should name it my-stack
But then if I use hyphenated case for my constructs eg my-func
the hyphens get removed in some cases because some constructs don't allow hyphens in the name
This is a small minor thing but I can't help but be annoyed by it. What is everyone else doing?Adrián Mouly
08/27/2021, 2:23 PMAdrián Mouly
08/27/2021, 2:24 PMSam Hulick
08/27/2021, 3:27 PMMyStack
. but in AWS, it’s dev-my-stack-*
and my Lambda functions are named like dev-my-stack-someFuncName
Adrián Mouly
08/27/2021, 4:12 PMSam Hulick
08/27/2021, 4:12 PMAdrián Mouly
08/27/2021, 4:12 PMAdrián Mouly
08/27/2021, 4:13 PMAdrián Mouly
08/27/2021, 4:13 PMTasksApiStack
, and my function has dev-tasks-findAll
.Adrián Mouly
08/27/2021, 4:13 PMSam Hulick
08/27/2021, 4:14 PMAdrián Mouly
08/27/2021, 4:15 PMAdrián Mouly
08/27/2021, 4:15 PMAdrián Mouly
08/27/2021, 4:17 PMJad
08/27/2021, 8:34 PMproject-stage-NameOfResourceHere
. Project could also be synonymous with a stack or logical grouping of stacks. On this note, what are you guys doing with REST API’s (ApiGatewayV1Api in particular)? It looks like SST is enforcing the restApiName to root.logicalPrefixedName(id)
, but am not sure if I am missing something?