diff --git a/lambda.tf b/lambda.tf index 3d0ce37..b7ffdf4 100644 --- a/lambda.tf +++ b/lambda.tf @@ -7,13 +7,13 @@ resource "aws_lambda_layer_version" "aws_wrangler" { resource "aws_lambda_function" "etl_post_processing" { function_name = "etl-post-processing-${var.account_number}-${var.student_initials}-${var.student_index_no}" - filename = "lambda_definition.1.zip" + filename = "lambda_definition.zip" handler = "lambda_definition.etl_function" runtime = "python3.8" role = var.lab_role_arn timeout = 300 memory_size = 512 - source_code_hash= filebase64sha256("lambda_definition.1.zip") + source_code_hash= filebase64sha256("lambda_definition.zip") layers = ["${aws_lambda_layer_version.aws_wrangler.arn}"] }