v1 upgrade: - `PolicyStatement` not an acceptable...
# help
a
v1 upgrade: •
PolicyStatement
not an acceptable type in
Permissions
?
Think I'm missing something here 🤔 , it's happening to other resources as well
f
Hey @Ash Rhazaly I think it might be a cdk version mismatch case. Can I see the version of SST and CDK packages in ur package.json?
If u are using SST v1.0.x, just make sure CDK packages are set to
2.20.0
.
You might not even need them b/c SST has
aws-cdk-lib
as a dependency.
a
Yup! Running
2.20.0
Ah did a
npm ci
and changed
aws-cdk-lib
to
2.20.0
from
^2.20.0
Works fine now! Thanks @Frank