tutorials/e2e-gke/terraform-config/modules/cluster/variables.tf (62 lines of code) (raw):

/** * Copyright 2021 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_id" { description = "Project ID where the cluster will run" } variable "name" { description = "A unique name for the resource" } variable "region" { description = "The name of the region to run the cluster" } variable "network" { description = "The name of the network to run the cluster" } variable "subnetwork" { description = "The name of the subnet to run the cluster" } variable "ip_range_master" { description = "The range for the private master" } variable "ip_range_pods" { description = "The secondary range for the pods" } variable "ip_range_services" { description = "The secondary range for the services" } variable "machine_type" { description = "Type of node to use to run the cluster" default = "n1-standard-2" } variable "gke_kubernetes_version" { description = "Kubernetes version to deploy Masters and Nodes with" default = "1.14" } variable "minimum_node_pool_instances" { type = number description = "Number of node-pool instances to have active" default = 1 } variable "maximum_node_pool_instances" { type = number description = "Maximum number of node-pool instances to scale to" default = 3 } variable "release_channel" { type = string description = "(Beta) The release channel of this cluster. Accepted values are `UNSPECIFIED`, `RAPID`, `REGULAR` and `STABLE`. Defaults to `UNSPECIFIED`." default = "STABLE" }