Skip to content

Commit

Permalink
Use correct hash to check lambda source zip
Browse files Browse the repository at this point in the history
  • Loading branch information
flauflauf committed Nov 19, 2018
1 parent e1537e7 commit 2cb6da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/lambda/main.tf
Expand Up @@ -34,7 +34,7 @@ resource "aws_lambda_function" "lambda" {
function_name = "hello_lambda"

filename = "${data.archive_file.zip.output_path}"
source_code_hash = "${data.archive_file.zip.output_sha}"
source_code_hash = "${data.archive_file.zip.output_base64sha256}"

role = "${aws_iam_role.iam_for_lambda.arn}"
handler = "hello_lambda.lambda_handler"
Expand Down

0 comments on commit 2cb6da0

Please sign in to comment.