-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvars.tf
48 lines (43 loc) · 801 Bytes
/
vars.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
# Main variables
variable "region" {
type = string
}
variable "access_key" {
type = string
}
variable "secret_key" {
type = string
}
# S3 parameters
variable "s3_name" {
type = string
}
# DynamoDB parameters
variable "db_name" {
type = string
}
variable "db_key" {
type = string
}
# Lambda parameters
variable "handler_file" {
description = "File name with lambda code without the file extension"
default = "lambda_function"
type = string
}
variable "handler_name" {
description = "Handler function name"
default = "lambda_handler"
type = string
}
variable "lambda_runtime" {
default = "python3.8"
type = string
}
# API Gateway parameters
variable "api_name" {
type = string
}
variable "api_stage" {
type = string
}