Skip to content

Commit 745dc53

Browse files
authored
fix: Forces the local_filename output to wait for the package to be built (#356)
1 parent 2b0d689 commit 745dc53

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

outputs.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ output "lambda_cloudwatch_log_group_name" {
133133
output "local_filename" {
134134
description = "The filename of zip archive deployed (if deployment was from local)"
135135
value = local.filename
136+
137+
depends_on = [
138+
null_resource.archive,
139+
]
136140
}
137141

138142
output "s3_object" {

0 commit comments

Comments
 (0)