Skip to content

Commit c25c419

Browse files
committed
Try to fix archive path
1 parent 91d92ff commit c25c419

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ resource "random_uuid" "lambda_uuid" {}
8181

8282

8383
resource "aws_lambda_function" "this" {
84-
filename = data.archive_file.this.output_path
84+
filename = "${path.module}/tmp/lambda.zip"
8585
function_name = "${module.tags.name32}_${substr(random_uuid.lambda_uuid.result, 0, 31)}"
8686
role = aws_iam_role.this.arn
8787
handler = "rolling-restart.handler"

versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
terraform {
33
required_version = "~> 0.12"
44
required_providers {
5-
archive = "~> 1.3"
5+
archive = "~> 2.0"
66
}
77
}

0 commit comments

Comments
 (0)