File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
packages/microapps-cdk/src Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ jobs:
168168 - name : Upload Zip
169169 uses : actions/upload-artifact@v2
170170 with :
171- name : cdk_out
171+ name : cdk_out_${{ matrix.deployName }}
172172 path : cdk-out.zip
173173
174174 - name : Diff CDK Stack
Original file line number Diff line number Diff line change @@ -293,11 +293,10 @@ replaceHostHeader: ${props.replaceHostHeader}`;
293293 // EdgeFunction has a bug where it will generate the same parameter
294294 // name across multiple stacks in the same region if the id param is constant
295295 return new cf . experimental . EdgeFunction ( this , `edge-to-apigwy-func-${ this . hashStackName ( ) } ` , {
296+ stackId : `microapps-edge-to-origin-${ this . hashStackName ( ) } ` ,
296297 code : lambda . Code . fromAsset ( distPath ) ,
298+ functionName : `microapps-edge-to-origin-${ this . hashStackName ( ) } ` ,
297299 handler : 'index.handler' ,
298- ...( edgeToOriginFuncProps . functionName
299- ? { stackId : edgeToOriginFuncProps . functionName }
300- : { } ) ,
301300 ...edgeToOriginFuncProps ,
302301 } ) ;
303302 }
You can’t perform that action at this time.
0 commit comments