-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinputs.tf
69 lines (58 loc) · 1.61 KB
/
inputs.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" {
description = "AWS Region"
type = string
}
variable "secrets_prefix" {
description = "Prefix used to create AWS Secrets"
default = "SFTP"
type = string
}
variable "input_tags" {
description = "Map of tags to apply to resources"
type = map(string)
default = {}
}
variable "name_prefix" {
description = "String to use as prefix on object names"
type = string
}
variable "name_suffix" {
description = "String to append to object names. This is optional, so start with dash if using"
type = string
default = ""
}
variable "python_runtime" {
type = string
description = "Python version used for lambda function"
nullable = false
default = "python3.7"
validation {
condition = can(regex("^python", var.python_runtime))
error_message = "Invalid value for variable: python_runtime it must be a python runtime."
}
}
variable "xray_enabled" {
description = "Bool to determine if Xray tracing is enabled"
type = bool
default = false
}
variable "custom_log_group" {
description = "Bool to determine if a customer cloudwatch log group is used"
type = bool
default = false
}
variable "custom_log_group_name" {
description = "String to use as a custom log group name"
type = string
default = ""
}
variable "apigw_caching_enable" {
description = "Bool to enable the cache in the APIGW"
type = bool
default = false
}
variable "server_loggroup_arns" {
description = "List of LogGroup arns for Transfer Server"
type = list(any)
default = []
}