We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c064789 commit ba131d0Copy full SHA for ba131d0
1 file changed
infrastructure/modules/lambda/outputs.tf
@@ -15,7 +15,7 @@ output "function_qualified_arn" {
15
}
16
17
output "function_env_vars" {
18
- value = length(var.lambda_env_vars) == 0 ? [] : aws_lambda_function.main.environment[0].variables
+ value = length(var.lambda_env_vars) == 0 ? {} : aws_lambda_function.main.environment[0].variables
19
20
21
output "iam_role_name" {
0 commit comments