This repository has been archived by the owner on May 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathvariables.tf
108 lines (86 loc) · 2.41 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
variable "compartment_ocid" {
description = "Compartment OCID where VCN is created. "
}
variable "label_prefix" {
description = "To create unique identifier for multiple clusters in a compartment."
default = ""
}
variable "ssh_authorized_keys" {
description = "Public SSH keys path to be included in the ~/.ssh/authorized_keys file for the default user on the instance. "
default = ""
}
variable "ssh_private_key" {
description = "The private key path to access instance. "
default = ""
}
variable "node_count" {
description = "The number of Cassandra nodes in the cluster. "
default = 3
}
variable "seeds_count" {
description = "The number of Cassandra seed nodes in the cluster. "
default = 3
}
variable "availability_domains" {
description = "The Availability Domain(s) for Cassandra node(s). "
default = []
}
variable "subnet_ocids" {
description = "List of Cassandra node subnets' ids. "
default = []
}
variable "vcn_cidr" {
description = "Virtual Cloud Network's CIDR block. "
default = ""
}
variable "node_display_name" {
description = "The name of the Cassandra node. "
default = "tf-cassandra-node"
}
variable "cluster_display_name" {
description = "The Cassandra cluster name. "
default = "Cassandra_Cluster"
}
variable "image_ocid" {
description = "The OCID of an image on which the Cassandra node instance is based. "
default = ""
}
variable "node_shape" {
description = "Instance shape for node instance to use. "
default = "BM.DenseIO1.36"
}
variable "node_flex_shape_ocpus" {
default = 1
}
variable "node_flex_shape_memory" {
default = 10
}
variable "storage_port" {
description = "TCP port for commands and data among Cassandra nodes. "
default = 7000
}
variable "ssl_storage_port" {
description = "SSL port for encrypted communication among Cassandra nodes. "
default = 7001
}
variable "cassandra_version" {
description = "Version of Cassandra software"
default = "3.11.11"
}
variable "defined_tags" {
description = "Defined tags for Cassandra nodes."
type = map(string)
default = {}
}
variable "use_private_subnet" {
description = "Hide Cassandra nodes in private subnet"
default = false
}
variable "bastion_service_id" {
description = "Bastion Service OCID"
default = ""
}
variable "bastion_service_region" {
description = "Bastion Service Region"
default = ""
}