Ernie Francis
02/22/2022, 8:37 PMauth.attachPermissionsForAuthUsers([api]);
when creating the sst.Auth() constructor. but what if i want to reference an existing already provisioned cognito userpool?Ashishkumar Pandey
02/22/2022, 8:47 PMconst awesomePool = cognito.UserPool.fromUserPoolId(this, 'awesome-user-pool', 'us-east-1_oiuR12Abd');
new Auth(this, "Auth", {
cognito: {
userPool: {
userPool: awesomePool,
},
},
});
Ashishkumar Pandey
02/22/2022, 8:49 PMAshishkumar Pandey
02/22/2022, 8:50 PMimport { aws_cognito as cognito } from 'aws-cdk-lib';
Ashishkumar Pandey
02/22/2022, 8:51 PMFrank
Auth
. @Ernie Francis are you blocked by this? Let me know and I will add support for it.Ashishkumar Pandey
02/23/2022, 11:54 AMErnie Francis
02/23/2022, 7:59 PMErnie Francis
02/23/2022, 8:00 PMFrank
Frank
Ashishkumar Pandey
02/27/2022, 11:21 AMFrank
Ashishkumar Pandey
02/28/2022, 11:40 PM