Skip to content

Commit 1f2e3a2

Browse files
committed
keep lambda filename from resource.archive_file
1 parent 71170c5 commit 1f2e3a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/oidc/callback.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ resource "aws_lambda_function" "oidc_callback" {
1919
role = aws_iam_role.lambda_oidc[0].arn
2020
handler = "index.handler"
2121
runtime = "nodejs22.x"
22-
filename = data.archive_file.callback_lambda_zip[0].output_path
22+
filename = resource.archive_file.callback_lambda_zip[0].output_path
2323
source_code_hash = data.archive_file.callback_lambda_zip[0].output_base64sha256
2424
publish = true
2525

modules/oidc/edge.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ resource "aws_lambda_function" "edge_auth" {
3838
role = aws_iam_role.lambda_oidc[0].arn
3939
handler = "index.handler"
4040
runtime = "nodejs22.x"
41-
filename = data.archive_file.edge_lambda_zip[0].output_path
41+
filename = resource.archive_file.edge_lambda_zip[0].output_path
4242
source_code_hash = data.archive_file.edge_lambda_zip[0].output_base64sha256
4343
publish = true
4444

0 commit comments

Comments
 (0)