-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathvariables.tf
More file actions
52 lines (43 loc) · 1.07 KB
/
variables.tf
File metadata and controls
52 lines (43 loc) · 1.07 KB
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 "name" {
default = "microservice_api"
description = "This can be defined when calling module so you can avoid creating duplicates if you want to call the module multiple times"
}
# Variables
variable "region" {
description = "Region must be specified"
}
variable "subnet_ids" {
type = "list"
description = "Subnet IDs to associate with Lambda Function"
}
variable "security_group_ids" {
type = "list"
description = "Security Group IDs to associate with Lambda Function"
}
variable "burst_limit" {
default = 5
}
variable "rate_limit" {
default = 10
}
variable "lambda_name" {
description = "lambda name to load"
default = "proxy.zip"
}
variable "lambda_handler" {
description = "lambda handler function name"
default = "index.myHandler"
}
variable "lambda_engine" {
description = "engine to run the lambda code"
default = "nodejs6.10"
}
variable "lambda_env" {
description = "A mapping of environment variables to pass for lambda"
default = {
variables = {
PROXY_HOST = "test"
PROXY_PORT = "80"
}
}
}