File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ export class SamFramework implements IFramework {
132132 const functionName = lambdasInStack . find (
133133 ( lambda ) =>
134134 lambda . logicalId === func . name &&
135- lambda . stackLogicalId === func . stackName ,
135+ lambda . stackLogicalId === func . stackLogicalId ,
136136 ) ?. lambdaName ;
137137
138138 if ( ! functionName ) {
@@ -253,7 +253,7 @@ export class SamFramework implements IFramework {
253253 | Format
254254 | undefined ,
255255 target : resource . Metadata ?. BuildProperties ?. Target ,
256- stackName,
256+ stackLogicalId : stackName ,
257257 } ) ;
258258 }
259259 // Check if it's a nested stack
@@ -298,5 +298,5 @@ type ParsedLambda = {
298298 minify ?: boolean ;
299299 format ?: Format ;
300300 target ?: string ;
301- stackName : string ;
301+ stackLogicalId : string ;
302302} ;
You can’t perform that action at this time.
0 commit comments