-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
84 lines (70 loc) · 1.86 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
variable "source_bucket" {
description = "Bucket to use for loading Lambda source ZIP"
type = string
}
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(string)
default = {}
}
variable "stage_variables" {
description = "Variables to provide for API Gateway environment"
type = map(string)
default = {}
}
variable "binary_media_types" {
description = "Media types to transmit as binary data"
type = list(string)
default = []
}
variable "access_policy_document" {
description = "IAM policy provided to Lambda role"
type = string
}
variable "hostname" {
description = "Hostname to use for site"
type = string
}
variable "auth_source_bucket" {
description = "Bucket to use for loading Auth Lambda source ZIP"
type = string
default = ""
}
variable "auth_source_version" {
description = "Version of Auth Lambda ZIP to use"
type = string
default = null
}
variable "auth_environment_variables" {
description = "Variables to provide for Auth Lambda environment"
type = map(string)
default = {}
}
variable "auth_access_policy_document" {
description = "IAM policy provided to Auth Lambda role"
type = string
default = null
}
variable "auth_ttl" {
description = "Cache time for authorizer check"
type = number
default = 300
}
variable "kms_key_arn" {
description = "Use custom KMS key for Cloudwatch logs"
type = string
default = ""
}
variable "cloudwatch_retention_in_days" {
description = "Days to retain cloudwatch logs"
type = number
default = 0
}