-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
130 lines (110 loc) · 3.16 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
variable "name" {
description = "The resource identify name"
type = string
default = "rolling-update"
}
variable "autoscaling_group_name" {
description = "The name of the Auto Scaling group to which you want to assign the lifecycle hook"
type = string
}
variable "default_result" {
description = "(optional) describe your variable"
type = object({
launching = string
terminating = string
})
}
variable "heartbeat_timeout" {
description = "lifecycle hook timeout in second"
type = object({
launching = number
terminating = number
})
}
variable "notification_metadata" {
description = "The additional information send from asg"
type = object({
launching = string
terminating = string
})
default = {
launching = ""
terminating = ""
}
}
variable "sns_topic_kms_key_id" {
description = "ARN of the KMS key used for enabling SSE on the topic"
type = string
default = ""
}
variable "kms_key_arn" {
description = "ARN of the KMS key used for decrypting slack webhook url"
type = string
default = ""
}
variable "reserved_concurrent_executions" {
description = "The amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations"
type = number
default = -1
}
variable "lambda_handler" {
description = "The lambda handler"
type = string
}
variable "lambda_role" {
description = "IAM role attached to the Lambda Function. If this is set then a role will not be created for you."
type = string
default = ""
}
variable "lambda_source_path" {
description = "The lambda source path"
type = string
}
variable "lambda_runtime" {
description = "The lambda runtime"
type = string
}
variable "lambda_timeout" {
description = "The lambda timeout second"
type = number
default = 900
}
variable "lambda_environment_variables" {
description = "The lambda environment variables"
type = map(string)
default = {}
}
variable "iam_role_boundary_policy_arn" {
description = "The ARN of the policy that is used to set the permissions boundary for the role"
type = string
default = null
}
variable "iam_role_tags" {
description = "Additional tags for the IAM role"
type = map(string)
default = {}
}
variable "lambda_function_vpc_subnet_ids" {
description = "List of subnet ids when Lambda Function should run in the VPC. Usually private or intra subnets."
type = list(string)
default = null
}
variable "lambda_function_store_on_s3" {
description = "Whether to store produced artifacts on S3 or locally."
type = bool
default = false
}
variable "lambda_function_s3_bucket" {
description = "S3 bucket to store artifacts"
type = string
default = null
}
variable "lambda_function_vpc_security_group_ids" {
description = "List of security group ids when Lambda Function should run in the VPC."
type = list(string)
default = null
}
variable "extra_tags" {
description = "The extra tag for resource"
type = map(string)
}