diff --git a/terraform/main.tf b/terraform/main.tf index c61af30..d7ad92f 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -66,9 +66,7 @@ resource "aws_lambda_function" "lambda_function" { memory_size = 128 runtime = "python2.7" timeout = 5 - # this will be released soon - # https://github.com/hashicorp/terraform/pull/5239 - # source_code_hash = "${base64encode(sha256(file("lambda_function_payload.zip")))}" + source_code_hash = "${base64encode(sha256(file("lambda_function_payload.zip")))}" } resource "aws_lambda_permission" "allow_cloudwatch" {