[Enhancement]: Include lambda function memory_size in outputs.tf
Fibonaccios opened this issue · 2 comments
Fibonaccios commented
Is your request related to a problem? Please describe.
Not a problem - just an enhancement.
Describe the solution you'd like.
It would be good to be able to access the memory size of the lambda function in the outputs.tf
just like we do for the lambda function name bellow:
output "lambda_function_name" {
description = "The name of the Lambda Function"
value = try(aws_lambda_function.this[0].function_name, "")
}
Code to be added in the outputs.tf
for the memory_size:
output "lambda_function_memory_size" {
description = "The memory size of the Lambda Function"
value = try(aws_lambda_function.this[0].memory_size, "")
}
antonbabenko commented
Module outputs attributes returned by the resources. You should use aws_lambda_function
data source to retrieve information on the created resources.
github-actions commented
I'm going to lock this issue because it has been closed for 30 days