-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
52 lines (44 loc) · 1.29 KB
/
variables.tf
File metadata and controls
52 lines (44 loc) · 1.29 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
variable "name" {
description = "The name of the OTS instance."
type = string
}
variable "description" {
description = "A brief description of the OTS instance."
type = string
default = ""
}
variable "table_schemas" {
description = "Map of table names to their primary key definitions (key=name, value=type)"
type = map(map(string))
default = {}
}
variable "time_to_live" {
description = "The retention time of data stored in this table (unit: second). -1 means never expired."
type = number
default = -1
}
variable "max_version" {
description = "The maximum number of versions stored in this table."
type = number
default = 1
}
variable "deviation_cell_version_in_sec" {
description = "The max version offset of the table."
type = number
default = 86400
}
variable "attach_vpc" {
description = "Whether to attach a VPC to the OTS instance."
type = bool
default = false
}
variable "vswitch_id" {
description = "The ID of an existing VSwitch to attach (when attach_vpc=true)."
type = string
default = ""
}
variable "vpc_name" {
description = "Name prefix for auto-created VPC/VSwitch (when attach_vpc=true and vswitch_id is not provided)."
type = string
default = ""
}