Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

optional handler name #35

Merged
merged 2 commits into from
Dec 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion examples/docker_image_basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ module "null_trigger" {

image_uri = "636553281721.dkr.ecr.us-east-1.amazonaws.com/test-lambda:latest"
function_name = var.function_name
handler = "index.handler"
role = aws_iam_role.lambda.arn
trigger = {
type = "null"
Expand Down
1 change: 0 additions & 1 deletion examples/docker_image_override_image_config/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ module "null_trigger" {
entry_point = ["/lambda-entrypoint.sh"]
}
function_name = var.function_name
handler = "index.handler"
role = aws_iam_role.lambda.arn
trigger = {
type = "null"
Expand Down
1 change: 1 addition & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ variable "function_name" {
variable "handler" {
description = "Lambda function handler"
type = string
default = null
}

variable "role" {
Expand Down