SST v3: Facing an issue while setting up Cognito Identity pool

TypeError: pulumi.runtime.invokeOutput is not a function
| at getRegionOutput (/Users/deevan.kumar/ssr/repo/user-service/.sst/platform/node_modules/@pulumi/getRegion.ts:93:27)
| at getRegion (file:///Users/deevan.kumar/ssr/repo/user-service/.sst/platform/src/components/aws/cognito-identity-pool.ts:169:14)
| at new _CognitoIdentityPool (file:///Users/deevan.kumar/ssr/repo/user-service/.sst/platform/src/components/aws/cognito-identity-pool.ts:158:20)
| at run (file:///Users/deevan.kumar/ssr/repo/user-service/sst.config.ts:54:25)
| at run (file:///Users/deevan.kumar/ssr/repo/user-service/.sst/platform/src/auto/run.ts:32:26)
| at file:///Users/deevan.kumar/ssr/repo/user-service/eval.ts:4:28
| at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
| at ModuleLoader.import (node:internal/modules/esm/loader:329:24)
| at importModuleDynamicallyWrapper (node:internal/vm/module:431:15)

Code looks below:
const identitypool = new sst.aws.CognitoIdentityPool(“test”,{
userPools:[
{
userPool: userPool.id,
client: client.id
}
]
});