Skip to content

Commit

Permalink
bilal said change the path
Browse files Browse the repository at this point in the history
  • Loading branch information
maahdisrostampoor committed Jul 9, 2024
1 parent ad6339d commit 96e8baf
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions back/template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: 'Movie Lens App'

Globals:
Function:
Runtime: python3.10
Timeout: 30
MemorySize: 256

Resources:
LambdaFunction:
Type: AWS::Serverless::Function
Properties:
Handler: lambda_function.lambda_handler # Adjust the handler name as per your Lambda function
CodeUri: back/movie_lambda/
Events:
ApiEvent:
Type: Api
Properties:
Path: /
Method: post

Outputs:
LambdaFunctionArn:
Description: ARN of the First Lambda Function
Value: !GetAtt LambdaFunction.Arn

0 comments on commit 96e8baf

Please sign in to comment.