Skip to content

Commit 312bc95

Browse files
pushing lambda zip file
1 parent 342de5f commit 312bc95

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lambda-image-handler.zip

7.8 MB
Binary file not shown.

lambda.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ resource "aws_lambda_function" "image_handler" {
99
timeout = var.lambda_timeout
1010
memory_size = var.lambda_memory_size
1111

12-
# Using the official AWS Solutions Lambda package from CloudFormation
13-
s3_bucket = "solutions-${data.aws_region.current.name}"
14-
s3_key = "dynamic-image-transformation-for-amazon-cloudfront/v7.0.7/0168841080e38f8c6c1be6dd80844c95dc42fc23cbb7b366cb88aa7c3e49bf08.zip"
12+
# Using the official AWS Solutions Lambda package (local file)
13+
filename = "${path.module}/lambda-image-handler.zip"
14+
source_code_hash = filebase64sha256("${path.module}/lambda-image-handler.zip")
1515

1616
environment {
1717
variables = {

0 commit comments

Comments
 (0)