We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48bf7c9 commit e2142c0Copy full SHA for e2142c0
main.tf
@@ -123,6 +123,7 @@ resource "aws_s3_bucket_object" "lambda_deploy_object" {
123
# The Lambda function itself
124
resource "aws_lambda_function" "lambda" {
125
function_name = var.name
126
+ description = var.description
127
handler = var.handler
128
layers = var.layer_arns
129
memory_size = var.memory_size
vars.tf
@@ -1,3 +1,9 @@
1
+variable "description" {
2
+ default = null
3
+ description = "Description of the Lambda Function"
4
+ type = string
5
+}
6
+
7
variable "environment" {
8
default = {}
9
description = "Environment variables to be passed to the function"
0 commit comments