We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8198b37 commit 7408809Copy full SHA for 7408809
main.tf
@@ -127,7 +127,7 @@ resource "aws_lambda_function" "this" {
127
128
# Zip package configuration
129
filename = var.package_type == "Zip" ? (local.use_prebuilt_zip ? var.filename : data.archive_file.lambda_zip[0].output_path) : null
130
- source_code_hash = var.package_type == "Zip" ? (local.use_prebuilt_zip ? filebase64sha256(var.filename) : data.archive_file.lambda_zip[0].output_base64sha256) : null
+ source_code_hash = var.package_type == "Zip" ? (local.use_prebuilt_zip ? null : data.archive_file.lambda_zip[0].output_base64sha256) : null
131
handler = var.package_type == "Zip" ? var.handler : null
132
runtime = var.package_type == "Zip" ? var.runtime : null
133
0 commit comments