Skip to content

Commit

Permalink
fix(nextjs-component): allow setting custom regeneration lambda name (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dphang committed Aug 3, 2021
1 parent 1e1b258 commit b1b3534
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,11 @@ class NextjsComponent extends Component {
"regenerationLambda",
"nodejs14.x"
) as string,
name: bucketOutputs.name,
name: readLambdaInputValue(
"name",
"regenerationLambda",
bucketOutputs.name
) as string,
tags: readLambdaInputValue(
"tags",
"regenerationLambda",
Expand Down

0 comments on commit b1b3534

Please sign in to comment.