hey guys, how should I go about sharing a table construct across multiple stacks? Basically, I’ve an AppStack has my Table and then I’ve multiple Stacks which use Api constructs. I wan’t to addPermissions to the previously created Table in all these Apis.
Ashishkumar Pandey
08/14/2021, 3:30 PM
I used the approach as described in the Auth construct docs to share the Table construct, worked fine.
f
Frank
08/15/2021, 8:47 PM
Yup, just to add that if you need to give permission to ALL of ur Lambda, you can do this in ur
oh, that’s nice to have, but I’m separating tables by services, anything that needs to be shared is duplicated using events ensuring minimum dependency.