Skip to content

Commit 85aa6f8

Browse files
CCM-16484: Improve lambda_env_vars output
1 parent d33c3a7 commit 85aa6f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infrastructure/terraform/modules/lambda/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ output "function_qualified_arn" {
2020

2121
output "function_env_vars" {
2222
description = "Environment variables for the Lambda function"
23-
value = length(var.lambda_env_vars) == 0 ? {} : aws_lambda_function.main.environment[0].variables
23+
value = var.lambda_env_vars
2424
}
2525

2626
output "iam_role_name" {

0 commit comments

Comments
 (0)