forked from persiaAziz-zz/sap-hana-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
155 lines (122 loc) · 3.39 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
variable "ansible_playbook_path" {
description = "Path from this module to the playbook"
default = "../../ansible/single_node_playbook.yml"
}
variable "az_region" {}
variable "az_resource_group" {
description = "Which azure resource group to deploy the HANA setup into. i.e. <myResourceGroup>"
}
variable "db_num" {
description = "which node is currently being created"
}
variable "email_shine" {
description = "e-mail address for SHINE user"
default = "[email protected]"
}
variable "install_cockpit" {
description = "Flag that determines whether to install Cockpit on the host"
default = false
}
variable "install_shine" {
description = "Flag that determines whether to install SHINE on the host"
default = false
}
variable "install_xsa" {
description = "Flag that determines whether to install XSA on the host"
default = false
}
variable "public_ip_allocation_type" {
description = "Defines whether the IP address is static or dynamic. Options are Static or Dynamic."
default = "Dynamic"
}
variable "pw_db_system" {
description = "Password for the database user SYSTEM"
}
variable "pw_os_sapadm" {
description = "Password for the SAP admin, which is an OS user"
}
variable "pw_os_sidadm" {
description = "Password for this specific sidadm, which is an OS user"
}
variable "pwd_db_shine" {
description = "Password for SHINE user"
default = ""
}
variable "pwd_db_tenant" {
description = "Password for SYSTEM user (tenant DB)"
default = ""
}
variable "pwd_db_xsaadmin" {
description = "Password for XSAADMIN user"
default = ""
}
variable "sap_instancenum" {
description = "The sap instance number which is in range 00-99"
}
variable "sap_sid" {
default = "PV1"
}
variable "sshkey_path_private" {
description = "The path on the local machine to where the private key is"
}
variable "sshkey_path_public" {
description = "The path on the local machine to where the public key is"
}
variable "storage_disk_sizes_gb" {
description = "List disk sizes in GB for all disks this VM will need"
default = [512, 512, 512]
}
variable "url_cockpit" {
description = "URL for HANA Cockpit"
default = ""
}
variable "url_di_core" {
description = "URL for DI Core"
default = ""
}
variable "url_portal_services" {
description = "URL for Portal Services"
default = ""
}
variable "url_sap_hdbserver" {
type = "string"
description = "The URL that points to the HDB server 122.17 bits"
}
variable "url_sap_sapcar" {
type = "string"
description = "The URL that points to the SAPCAR bits"
}
variable "url_sapui5" {
description = "URL for SAPUI5"
default = ""
}
variable "url_shine_xsa" {
description = "URL for SHINE XSA"
default = ""
}
variable "url_xs_services" {
description = "URL for XS Services"
default = ""
}
variable "url_xsa_runtime" {
description = "URL for XSA runtime"
default = ""
}
variable "useHana2" {
description = "If this is set to true, then, ports specifically for HANA 2.0 will be opened."
default = false
}
variable "vm_size" {
default = "Standard_E8s_v3"
}
variable "vm_user" {
description = "The username of your HANA database VM."
}
variable "azure_service_principal_id" {
description = "Service principal Id"
default = ""
}
variable "azure_service_principal_pw" {
description = "Service principal password"
default = ""
}