I've noticed that most (maybe all) SST created constructs are given a name that includes the stage name. Cognito seems to be the exception, is this possible to change?
j
Joe Kendal
10/29/2021, 9:09 AM
You can specify the name of the cognito user pool and pass in the stage prop in a formatted string yes.
r
Ross Coundon
10/29/2021, 9:11 AM
Sorry, I wasn't clear in what I wrote. I meant, could SST change to include the stage name in the deployed user pool by default in the same way as for other services
t
thdxr
10/29/2021, 12:02 PM
Ah wonder why this is. Don't immediately see a problem
This is what I see in my Cognito User Pool console. It’s prefixed by the stage name and the app name
r
Ross Coundon
10/30/2021, 6:30 AM
It's odd, after redeploying this is the case, i.e. the name of the deployed user pool changed (which I didn't think could happen!), maybe it was deployed originally on an earlier version when this wasn't the case? Anyway, it seems okay now.