stocky-magazine-78486
08/18/2021, 12:11 PMwet-fall-57893
08/18/2021, 12:43 PMconst db = new aws.dynamodb.Table(...)
//reference it
db.arn
if not, you could possibly export db from stack A as stack output and import it from stack B where your lambda is.
https://www.pulumi.com/docs/intro/concepts/stack/#stackreferences
That said, it’s always a good practice to specify name where possible. Note some resources might not have name
available.stocky-magazine-78486
08/18/2021, 1:30 PMdb.arn
can only be accessed within the pulumi typescript file rightwet-fall-57893
08/18/2021, 11:38 PMstocky-magazine-78486
08/19/2021, 2:03 AMwet-fall-57893
08/19/2021, 2:05 AM