-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
55 lines (45 loc) · 1.18 KB
/
variables.tf
File metadata and controls
55 lines (45 loc) · 1.18 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
53
54
variable "name" {
description = "Name of the Lambda function"
type = string
}
variable "image_uri" {
description = "URI of the container image"
type = string
}
variable "memory_size" {
description = "Amount of memory in MB for the Lambda function"
type = number
default = 256
}
variable "timeout" {
description = "Timeout in seconds for the Lambda function"
type = number
default = 30
}
variable "subnet_ids" {
description = "List of subnet IDs for the Lambda function"
type = list(string)
}
variable "security_group_ids" {
description = "List of security group IDs for the Lambda function"
type = list(string)
}
variable "environment_variables" {
description = "Environment variables for the Lambda function"
type = map(string)
default = {}
}
variable "command" {
description = "Command to run in the container"
type = list(string)
}
variable "log_retention_days" {
description = "Number of days to retain logs in CloudWatch"
type = number
default = 30
}
variable "tags" {
description = "Tags to apply to all resources"
type = map(string)
default = {}
}