Skip to content

Commit

Permalink
Merge pull request #11 from yzhanggithub/master
Browse files Browse the repository at this point in the history
Updated logs-logzio lambda to Python 3.7
  • Loading branch information
jritsema authored Jan 6, 2020
2 parents 941cc4e + f19eb2a commit 4c0559d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion env/dev/ecs-event-stream.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ resource "aws_lambda_function" "ecs_event_stream" {
filename = data.archive_file.lambda_zip.output_path
source_code_hash = data.archive_file.lambda_zip.output_base64sha256
handler = "index.handler"
runtime = "nodejs8.10"
runtime = "nodejs10.x"
tags = var.tags
}

Expand Down
2 changes: 1 addition & 1 deletion env/dev/logs-logzio.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ EOF
resource "aws_lambda_function" "lambda_logz" {
function_name = "${var.app}-${var.environment}-logz"
description = "Sends Cloudwatch logs to logz."
runtime = "python2.7"
runtime = "python3.7"
timeout = 60
memory_size = 512
role = aws_iam_role.iam_for_lambda_logz.arn
Expand Down
Binary file modified env/dev/logs-logzio.zip
Binary file not shown.

0 comments on commit 4c0559d

Please sign in to comment.