This repository has been archived by the owner on Apr 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathconfig.tf
168 lines (140 loc) · 3.94 KB
/
config.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
156
157
158
159
160
161
162
163
164
165
166
167
168
variable "azure_client_id" {
type = "string"
description = "Azure Client ID"
default = ""
}
variable "azure_client_secret" {
type = "string"
description = "Azure Client Secret"
default = ""
}
variable "azure_tenant_id" {
type = "string"
description = "Azure Tenant ID"
default = ""
}
variable "azure_subscription_id" {
type = "string"
description = "Azure Subscription ID"
default = ""
}
variable "openshift_azure_resource_prefix" {
type = "string"
description = "Prefix for all the resources"
default = "os"
}
variable "openshift_azure_resource_suffix" {
type = "string"
description = "Suffix for all the resources"
default = "tf"
}
variable "openshift_azure_resource_group" {
type = "string"
description = "Azure resource group"
default = "azure"
}
variable "openshift_azure_region" {
type = "string"
description = "Azure region for deployment"
default = "East US"
}
variable "openshift_azure_public_key" {
type = "string"
description = "SSH Public key"
default = ""
}
variable "openshift_azure_private_key" {
type = "string"
description = "SSH Private key"
default = ""
}
variable "openshift_azure_master_vm_count" {
description = "Master VM count"
default = 1
}
variable "openshift_azure_infra_vm_count" {
description = "Infra VM count"
default = 1
}
variable "openshift_azure_node_vm_count" {
description = "Node VM count"
default = 1
}
variable "openshift_azure_master_vm_size" {
type = "string"
description = "Master VM size"
default = "Standard_DS2_v2"
}
variable "openshift_azure_infra_vm_size" {
type = "string"
description = "Infra VM size"
default = "Standard_DS2_v2"
}
variable "openshift_azure_node_vm_size" {
type = "string"
description = "Node VM size"
default = "Standard_DS2_v2"
}
variable "openshift_azure_data_disk_size" {
description = "Size of Datadisk in GB for Docker volume"
default = 128
}
variable "openshift_azure_vm_os" {
type = "map"
default = {
publisher = "OpenLogic"
offer = "CentOS"
sku = "7.3"
version = "latest"
}
}
variable "openshift_azure_vm_username" {
type = "string"
description = "VM Username"
default = "ocpadmin"
}
variable "openshift_master_dns_name" {
type = "string"
description = "DNS prefix name for the master"
default = "osmaster"
}
variable "openshift_infra_dns_name" {
type = "string"
description = "DNS prefix name for the infra"
default = "osinfra"
}
variable "openshift_initial_password" {
type = "string"
description = "initial password for OpenShift"
default = "password123"
}
variable "openshift_azure_default_subdomain" {
type = "string"
description = "The wildcard DNS name you would like to use for routing"
default = "xip.io"
}
variable "openshift_azure_master_prep_script" {
type = "string"
description = "URL for Master Prep script"
default = "https://raw.githubusercontent.com/sozercan/OpenShift-Azure-Terraform/master/scripts/masterPrep.sh"
}
variable "openshift_azure_node_prep_script" {
type = "string"
description = "URL for Node Prep script"
default = "https://raw.githubusercontent.com/sozercan/OpenShift-Azure-Terraform/master/scripts/nodePrep.sh"
}
variable "openshift_azure_deploy_openshift_script" {
type = "string"
description = "URL for Deploy Openshift script"
default = "https://raw.githubusercontent.com/sozercan/OpenShift-Azure-Terraform/master/scripts/deployOpenShift.sh"
}
variable "openshift_ansible_url" {
type = "string"
description = "URL for openshift-ansible repo"
default = "https://github.com/openshift/openshift-ansible.git"
}
variable "openshift_ansible_branch" {
type = "string"
description = "Branch of the openshift-ansible repo"
default = "master"
}