Skip to content

Commit

Permalink
remove layer
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Balcaen committed Apr 5, 2024
1 parent c5305f2 commit 40e5cce
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lambdas/rich_pdf_ingestion/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ locals {
lambda_function_name = "rich_pdf_ingestion"
ses_arn = "arn:aws:ses:${var.aws_region}:${data.aws_caller_identity.current.account_id}"
timeout = 30
powertools_layer_arn = "arn:aws:lambda:${var.aws_region}:017000801446:layer:AWSLambdaPowertoolsPythonV2:67"
}

data "aws_caller_identity" "current" {}
Expand All @@ -18,7 +17,6 @@ module "lambda_function_container_image" {
function_name = local.lambda_function_name
publish = true
timeout = local.timeout
layers = [local.powertools_layer_arn]
source_path = "${path.module}/src"
memory_size = 256
role_name = "${local.lambda_function_name}-role"
Expand Down

0 comments on commit 40e5cce

Please sign in to comment.