Skip to content

Commit

Permalink
fix lambda name in deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Vlasic committed Aug 30, 2021
1 parent 57ce0c7 commit 5a02545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/backend/api/deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (d *Deploy) applyInfrastructure() error {
}

func (d *Deploy) updateLambdaFunction(f *mantil.FunctionUpdate) error {
lambdaName := fmt.Sprintf("%s-%s", d.project.Name, f.Name)
lambdaName := fmt.Sprintf("mantil-project-%s-%s", d.project.Name, f.Name)
var err error
if f.S3Key != "" {
err = d.aws.UpdateLambdaFunctionCodeFromS3(lambdaName, d.project.Bucket, f.S3Key)
Expand Down

0 comments on commit 5a02545

Please sign in to comment.