-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
80 lines (67 loc) · 1.83 KB
/
variables.tf
File metadata and controls
80 lines (67 loc) · 1.83 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
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
variable "image_name" {
description = "Name of the Docker image to build"
type = string
default = "bun-lambda"
}
variable "image_tag" {
description = "Tag for the Docker image"
type = string
default = "latest"
}
variable "lambda_function_handler" {
description = "Path to lambda function handler"
type = string
default = "src/handler.ts"
}
variable "lambda_execution_role_arn" {
description = "ARN of the lambda execution role"
type = string
default = null
}
variable "lambda_memory_size" {
description = "Memory size of the lambda function"
type = number
default = 1024
}
variable "lambda_timeout" {
description = "Timeout of the lambda function"
type = number
default = 30
}
variable "lambda_name" {
description = "Name of the lambda function"
type = string
default = "bun-lambda"
}
variable "lambda_architectures" {
description = "Architectures of the lambda function"
type = list(string)
default = ["x86_64"]
}
variable "aws_region" {
description = "AWS region"
type = string
default = "us-east-2"
}
variable "code_path" {
description = "Path to the code directory. This is copied into lambda image."
type = string
}
variable "package_json_path" {
description = "Path to the package.json file. This is copied into lambda image."
type = string
}
variable "bun_lock_path" {
description = "Path to the bun.lock file. This is copied into lambda image."
type = string
}
variable "aws_profile" {
description = "AWS profile to use from command line"
type = string
default = null
}
variable "compile_code" {
description = "Whether to compile the code. If set to false, typescript will be transpiled to javascript."
type = bool
default = false
}