modules/gcve-cluster/variables.tf (56 lines of code) (raw):
/**
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
variable "project" {
type = string
description = "Project where private cloud will be deployed"
}
variable "cluster_name" {
type = string
description = "Name of the ESXi cluster."
}
variable "gcve_zone" {
type = string
description = "Zone of the private cloud"
}
variable "pc_name" {
type = string
description = "Name of the private cloud that will be deployed"
}
variable "cluster_node_type" {
type = string
description = "Specify the node type for the management cluster in the private cloud"
default = "standard-72"
}
variable "cluster_node_count" {
type = number
description = "Specify the number of nodes for the management cluster in the private cloud"
default = 3
}
variable "custom_core_count" {
type = number
description = "Specify the number of cores available to each node of the cluster. The value 0 will use the largest amount of available cores on each node in the cluster."
default = 0
}
variable "cluster_storage_node_type" {
type = string
description = "Specify the node type for the management cluster in the private cloud"
default = "storage-only-standard-72"
}
variable "cluster_storage_node_count" {
type = number
description = "Specify the number of nodes for the management cluster in the private cloud"
default = 0
}