This repository has been archived by the owner on Aug 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
153 lines (125 loc) · 3.48 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
variable "nsdomain" {
default = "metal.local"
description = "NSX Domain"
}
variable "cluster_name" {
default = "metal-supervisor-tf"
description = "Supervisor Cluster Name"
}
variable "namespace" {
default = "Default"
description = "Cluster Namespace"
}
variable "storagepolicy" {
description = "Storage Policy Name configured in vSAN"
}
variable "storagelimit" {
description = "Storage Policy limit"
}
variable "cp_vm_network" {
description = "VM Network CIDR"
}
variable "cp_subnet_mask" {
description = "VM Network Subnet Mask"
}
variable "cp_gateway_ip" {
description = "VM Network Gateway Address"
}
variable "starting_ip" {
description = "VM Network Range Starting IP for Cluster Services"
}
variable "dns_server" {
description = "DNS Server (Either configured in NSX or external)"
}
variable "ntp_server" {
description = "NTP configured in VMWare or external"
}
variable "storage_policy_name" {
description = "Storage Policy Name"
}
variable "egress_starting_ip" {
description = "Your first usable Metal Elastic Subnet address for Egress range"
}
variable "ingress_starting_ip" {
description = "Your first usable Metal Elastic Subnet address for Ingress range"
}
# vSphere
variable "metal_auth_token" {
type = string
description = "Equinix Metal API Key"
}
variable "metal_project_id" {
type = string
default = "null"
description = "Equinix Metal Project ID"
}
variable "metal_organization_id" {
type = string
default = "null"
description = "Equinix Metal Organization ID"
}
variable "metal_create_project" {
type = bool
default = true
description = "Create a Metal Project if this is 'true'. Else use provided 'metal_project_id'"
}
variable "metal_project_name" {
type = string
default = "baremetal-anthos"
description = "The name of the Metal project if 'create_project' is 'true'."
}
variable "s3_url" {
description = "This is the URL endpoint to connect your s3 client to"
default = "https://s3.example.com"
}
variable "s3_access_key" {
description = "This is the access key for your S3 endpoint"
default = "S3_ACCESS_KEY"
}
variable "s3_secret_key" {
description = "This is the secret key for your S3 endpoint"
default = "S3_SECRET_KEY"
}
variable "s3_version" {
description = "S3 API Version (S3v2, S3v4)"
default = "S3v4"
}
variable "object_store_bucket_name" {
description = "This is the name of the bucket on your Object Store"
default = "vmware"
}
variable "vcenter_iso_name" {
description = "The name of the vCenter ISO in your Object Store"
type = string
}
variable "relative_path_to_gcs_key" {
description = "If you are using GCS to download you vCenter ISO this is the path to the GCS key"
default = "storage-reader-key.json"
}
# vSphere Licenses
variable "vsphere_license" {
description = "Your vSphere license key."
}
variable "vsphere_addon_license" {
description = "Your vSphere Addon License."
}
variable "vsphere_enterprise_license" {
description = "Your vSphere Enterprise License."
}
# NSX
variable "nsx_manager_ova_name" {
description = "NSX OVA file name in S3 bucket"
}
variable "nsx_controller_ova_name" {
description = "NSX Controller OVA file name in S3 bucket"
}
variable "nsx_edge_ova_name" {
description = "NSX Edge OVA file name in S3 bucket"
}
variable "nsx_license" {
description = "Your NSX License"
}
variable "nsx_domain_0" {
default = "metal.local"
description = "NSX Network Domain"
}