forked from ruzin/terraform_aws_lambda_python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
52 lines (42 loc) · 1.38 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
variable "role_arn" {
description = "ARN of IAM role to be attached to Lambda Function."
}
variable "description" {
description = "Description of what your Lambda Function does."
}
variable "function_name" {
description = "A unique name for your Lambda Function"
}
variable "handler_name" {
description = "The function entrypoint in your code."
}
variable "memory_size" {
description = "Amount of memory in MB your Lambda Function can use at runtime."
default = 128
type = number
}
variable "runtime" {
description = "runtime"
default = "python2.7"
}
variable "timeout" {
description = "The amount of time your Lambda Function has to run in seconds. Defaults to 5 minutes"
default = 300
type = number
}
variable "source_code_path" {
description = "Path to the source file or directory containing your Lambda source code & requirements.txt if applicable"
}
variable "output_path" {
description = "Path to the function's deployment package within local filesystem. eg: /path/to/lambda.zip"
default = "lambda.zip"
}
variable "staging_directory" {
description = "Path to an empty directory used for staging the lambda files. The content is left in the directory after staging"
default = "lambda.zip"
}
variable "environment" {
description = "Environment configuration for the Lambda function"
type = map
default = {}
}