-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariables.tf
97 lines (75 loc) · 1.74 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
# Terraform variables
variable "tenancy_ocid" {}
variable "user_ocid" {}
variable "fingerprint" {}
variable "private_key_path" {}
variable "compartment_ocid" {}
variable "region" {}
variable "ssh_public_key" {}
variable "ssh_private_key" {}
variable "regions" {
default = ["us-phoenix-1", "us-ashburn-1"]
}
variable "InstanceOS" {
default = "CentOS"
}
variable "InstanceOSVersion" {
default = "7"
}
variable "DSE_Shape" {
default = "VM.DenseIO1.8"
# default = "VM.DenseIO1.16"
}
variable "OPSC_Shape" {
default = "VM.Standard1.4"
}
variable "2TB" {
default = "2097152"
}
variable "host_user_name" {
default = "opc"
}
variable "OPSC_BootStrap" {
default = "./userdata/lcm_opscenter_userdata.sh"
}
variable "DSE_BootStrap" {
default = "./userdata/lcm_node_userdata.sh"
}
# DSE cluster name
variable "DSE_Cluster_Name" {
default = "mycluster"
}
# DataStax Academy Credentials for DSE software download
variable "DataStax_Academy_Creds" {
type = "map"
default = {
username = "[email protected]"
password = "*9En9HH4j^p4"
}
}
# Collect user provided password for "cassandra" superuser
variable "Cassandra_DB_User_Password" {
default = "datastax1!"
}
# Collect user provided password for OpsCenter Admin
variable "OpsCenter_Admin_Password" {
default = "opscenter1!"
}
# DSE cluster deployment topology by availability domain (Phoenix region: PHX)
variable "DSE_Cluster_Topology_PHX_Region" {
type = "map"
default = {
AD1_Count = "1"
AD2_Count = "1"
AD3_Count = "1"
}
}
# DSE cluster deployment topology by availability domain (Ashburn region: IAD)
variable "DSE_Cluster_Topology_IAD_Region" {
type = "map"
default = {
AD1_Count = "1"
AD2_Count = "1"
AD3_Count = "1"
}
}