Any way to fix the issue above without moving to v...
# help
f
Any way to fix the issue above without moving to v2 of the CDK stack (got too many dependencies atm)? I am using SST version 0.42.1
r
It’s a pretty quick job to update to CDK v2 and it’ll simplify your dependencies, worth doing if you can spare 30 mins
f
Thanks Ross, defo will be moving toward v2 in the near future, just wondering how it would work with v1
f
@Fazi if you update to 0.58.0 (the latest version using CDK v1), you can do exactly what @Ross Coundon shared, except instead of this:
Copy code
import * as apigAuthorizers from '@aws-cdk/aws-apigatewayv2-authorizers-alpha';
You import like this:
Copy code
import * as apigAuthorizers from '@aws-cdk/aws-apigatewayv2-authorizers';