From 7b0d30ae31d65aaf6ec2da33f3b8fab83c48a879 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Mon, 10 Jun 2024 17:34:13 -0400 Subject: [PATCH] fix dynamodb linkable --- pkg/platform/src/auto/run.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/platform/src/auto/run.ts b/pkg/platform/src/auto/run.ts index 6cf58ef6d..9cb26308d 100644 --- a/pkg/platform/src/auto/run.ts +++ b/pkg/platform/src/auto/run.ts @@ -19,9 +19,9 @@ export async function run(program: automation.PulumiFn) { addTransformationToEnsureUniqueComponentNames(); addTransformationToCheckBucketsHaveMultiplePolicies(); - Link.makeLinkable(aws.dynamodb.Table, function () { + Link.makeLinkable(aws.dynamodb.Table, (db) => { return { - properties: { tableName: this.name }, + properties: { tableName: db.name }, }; }); Link.AWS.makeLinkable(aws.dynamodb.Table, function () {