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 () {