This repository has been archived by the owner on Apr 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
69 lines (57 loc) · 1.55 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
variable "runtime" {
description = "Language to use for Lambda"
type = "string"
default = ""
}
variable "handler" {
description = "Program entrypoint for Lambda"
type = "string"
default = ""
}
variable "timeout" {
description = "Timeout after which Lamdba will terminate"
type = "string"
default = "10"
}
variable "memory_size" {
description = "Memory amount which Lamdba will use to execute"
type = "string"
default = "128"
}
variable "source_bucket" {
description = "Bucket to use for loading Lambda source ZIP"
type = "string"
}
variable "source_prefix" {
description = "S3 prefix to use for loading Lambda ZIP"
type = "string"
default = ""
}
variable "source_version" {
description = "Version of Lambda ZIP to use"
type = "string"
}
variable "function_name" {
description = "Name for Lambda function"
type = "string"
}
variable "environment_variables" {
description = "Variables to provide for Lambda environment"
type = "map"
default = {
dummy = ""
}
}
variable "access_policy_document" {
description = "IAM policy provided to Lambda role"
type = "string"
}
variable "source_types" {
description = "Source types which are allowed to invoke the Lambda. Must align with entries in source_arns variable"
type = "list"
default = [""]
}
variable "source_arns" {
description = "Source ARNs which are allowed to invoke the Lambda. Must align with entries in source_types variable"
type = "list"
}