-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
69 lines (56 loc) · 1.56 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 "region" {
type = string
default = "us-east-1"
}
variable "output_path" {
type = string
description = "The path and name of the resulting zip file"
}
variable "function_name" {
type = string
description = "Name of the aws lambda function"
}
variable "lambda_runtime" {
type = string
description = "Lambda runtime i.e <python3.8>"
default = "python3.8"
}
variable "source_code_hash" {
type = string
description = "hash of the current zip file, changes in the function code will produce an update of the lambda function"
}
variable "table_name" {
type = string
description = "Name of the DynamoDB table"
}
variable "attribute_name" {
type = string
description = "Name of the DynamoDB attribute"
}
variable "schedule_expression" {
type = string
description = "Cloudwatch rule rate expression for how frequent you want the lambda function to run"
}
variable "handler" {
type = string
description = "Handler for the aws lambda function, the structure should be the following --> filename.mainfunction"
}
variable "dynamodb_policy_name" {
type = string
description = "Name of the DynamoDB iam policy"
}
variable "cloudwatch_event_rule_name" {
type = string
description = "Name of the CW event rule"
}
variable "lambda_role_name" {
type = string
description = "Name of the aws lambda execution role"
}
variable "cw_event_is_enabled" {
type = bool
description = "Mark if CW event rule is enabled or not"
}
variable "lambda_vars" {
default = {}
}