-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
63 lines (53 loc) · 1.42 KB
/
variables.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
variable "aws_region" {
default = "us-east-1"
}
variable "loader_avaliability_zones" {
description = ""
type = list(string)
# List using: aws ec2 describe-availability-zones --region="us-east-1"
default = [
"us-east-1a",
"us-east-1b",
"us-east-1c",
]
}
variable "loader_instance_type" {
default = "t3.micro"
#default = "c5.2xlarge"
}
variable "loader_instances_count" {
default = 3
}
# This should be on when testing dynamoDB and off when testing scylla alternator.
variable "dynamo_testing" {
type = bool
}
# Provisioned write capacity for dynamoDB.
variable "dynamo_wcu" {
default = 1000
}
# Provisioned read capacity for dynamoDB.
variable "dynamo_rcu" {
default = 1000
}
# This is API token for Scylla Cloud account needed to create managed alternator cluster.
# Can be empty string when testing only dynamoDB.
variable "scylla_cloud_token" {
type = string
sensitive = true
}
# Instance type for alternator cluster, i4i family is recommended for real benchmarks.
variable "scylla_cloud_node_type" {
default = "t3.micro"
#default = "i4i.2xlarge"
}
# This is version needs to be updated to the desired version (typicially latest available).
variable "scylla_cloud_version" {
default = "2022.1.3"
# default = "5.1.1"
}
# See https://docs.scylladb.com/stable/alternator/alternator.html#write-isolation-policies
variable "alternator_write_isolation" {
#default = "only_rmw_uses_lwt"
default = "forbid"
}