Hey Andrew, I just updated my repo to the latest cdk and everything still works fine. There aren't any deprecated constructs here. Can you be more specific about the issue you had?
I'm not sure how that's possible. With the latest version the CDK you literally cannot set physicalResourceId: 'initDBData'. You have to use one of the two static methods listed here: docs.aws.amazon.com/cdk/api/latest...
Not sure if you just misread the docs or if something else is going on, but here is the official docs with that property being set: docs.aws.amazon.com/cdk/api/latest...
Hey Andrew, I just updated my repo to the latest cdk and everything still works fine. There aren't any deprecated constructs here. Can you be more specific about the issue you had?
I'm not sure how that's possible. With the latest version the CDK you literally cannot set
physicalResourceId: 'initDBData'
. You have to use one of the two static methods listed here: docs.aws.amazon.com/cdk/api/latest...So you didn't even try it? Well thanks for stopping by.
your snide reply aside, for anyone happening across this post, it's not an accurate source of truth.
Not sure if you just misread the docs or if something else is going on, but here is the official docs with that property being set:
docs.aws.amazon.com/cdk/api/latest...
Here is my code doing the exact same thing!
github.com/elthrasher/cdk-dynamo-c...
Notice the static method you referenced is on the right side of the assignment. Now is there an improvement you'd like to suggest?