File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,12 +64,12 @@ output "log_group_arn" {
6464# Package outputs (Zip only)
6565output "package_path" {
6666 description = " Path to the Lambda deployment package"
67- value = var. package_type == " Zip" ? data. archive_file . lambda_zip [0 ]. output_path : null
67+ value = var. package_type == " Zip" ? (local . use_prebuilt_zip ? var . filename : data. archive_file . lambda_zip [0 ]. output_path ) : null
6868}
6969
7070output "package_size" {
7171 description = " Size of the Lambda deployment package"
72- value = var. package_type == " Zip" ? data. archive_file . lambda_zip [0 ]. output_size : null
72+ value = var. package_type == " Zip" ? (local . use_prebuilt_zip ? null : data. archive_file . lambda_zip [0 ]. output_size ) : null
7373}
7474
7575# Template outputs
You can’t perform that action at this time.
0 commit comments