lambda.tf - removed version .1.
This commit is contained in:
parent
dded367d3a
commit
849ac88a57
@ -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}"]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user