github.com/openshift/installer@v1.4.17/upi/vsphere/variables.tf (about)

     1  // phpIPAM variables
     2  
     3  variable "ipam" {
     4    type        = string
     5    description = "The IPAM server to use for IP management."
     6    default     = ""
     7  }
     8  
     9  variable "ipam_token" {
    10    type        = string
    11    description = "The IPAM token to use for requests."
    12    default     = ""
    13  }
    14  
    15  //////
    16  // vSphere variables
    17  //////
    18  
    19  variable "vsphere_server" {
    20    type        = string
    21    description = "This is the vSphere server for the environment."
    22  }
    23  
    24  variable "vsphere_user" {
    25    type        = string
    26    description = "vSphere server user for the environment."
    27  }
    28  
    29  variable "vsphere_password" {
    30    type        = string
    31    description = "vSphere server password"
    32  }
    33  
    34  variable "vsphere_cluster" {
    35    type        = string
    36    default     = ""
    37    description = "This is the name of the vSphere cluster."
    38  }
    39  
    40  variable "vsphere_datacenter" {
    41    type        = string
    42    default     = ""
    43    description = "This is the name of the vSphere data center."
    44  }
    45  
    46  variable "vsphere_datastore" {
    47    type        = string
    48    default     = ""
    49    description = "This is the name of the vSphere data store."
    50  }
    51  variable "vm_network" {
    52    type        = string
    53    description = "This is the name of the publicly accessible network for cluster ingress and access."
    54    default     = "VM Network"
    55  }
    56  
    57  variable "vm_template" {
    58    type        = string
    59    description = "This is the name of the VM template to clone."
    60  }
    61  
    62  variable "vm_dns_addresses" {
    63    type    = list(string)
    64    default = ["1.1.1.1", "9.9.9.9"]
    65  }
    66  
    67  /////////
    68  // OpenShift cluster variables
    69  /////////
    70  
    71  variable "cluster_id" {
    72    type        = string
    73    description = "This cluster id must be of max length 27 and must have only alphanumeric or hyphen characters."
    74  }
    75  
    76  variable "base_domain" {
    77    type        = string
    78    description = "The base DNS zone to add the sub zone to."
    79  }
    80  
    81  variable "cluster_domain" {
    82    type        = string
    83    description = "The base DNS zone to add the sub zone to."
    84  }
    85  
    86  variable "machine_cidr" {
    87    type = string
    88  }
    89  
    90  /////////
    91  // Bootstrap machine variables
    92  /////////
    93  
    94  variable "bootstrap_ignition_path" {
    95    type    = string
    96    default = "./bootstrap.ign"
    97  }
    98  
    99  variable "bootstrap_complete" {
   100    type    = string
   101    default = "false"
   102  }
   103  
   104  variable "bootstrap_ip_address" {
   105    type    = string
   106    default = ""
   107  }
   108  
   109  variable "lb_ip_address" {
   110    type    = string
   111    default = ""
   112  }
   113  
   114  ///////////
   115  // control-plane machine variables
   116  ///////////
   117  
   118  variable "control_plane_ignition_path" {
   119    type    = string
   120    default = "./master.ign"
   121  }
   122  
   123  variable "control_plane_count" {
   124    type    = string
   125    default = "3"
   126  }
   127  
   128  variable "control_plane_ip_addresses" {
   129    type    = list(string)
   130    default = []
   131  }
   132  variable "control_plane_memory" {
   133    type    = string
   134    default = "16384"
   135  }
   136  
   137  variable "control_plane_num_cpus" {
   138    type    = string
   139    default = "4"
   140  }
   141  
   142  //////////
   143  // compute machine variables
   144  //////////
   145  
   146  variable "compute_ignition_path" {
   147    type    = string
   148    default = "./worker.ign"
   149  }
   150  
   151  variable "compute_count" {
   152    type    = string
   153    default = "3"
   154  }
   155  
   156  variable "compute_ip_addresses" {
   157    type    = list(string)
   158    default = []
   159  }
   160  
   161  variable "compute_memory" {
   162    type    = string
   163    default = "8192"
   164  }
   165  
   166  variable "compute_num_cpus" {
   167    type    = string
   168    default = "4"
   169  }
   170  
   171  variable "ssh_public_key_path" {
   172    type    = string
   173    default = "~/.ssh/id_rsa.pub"
   174  }
   175  
   176  ///////////////////////////////////////////
   177  ///// failure domains
   178  ///// if not defined, a default failure domain is created which consists of:
   179  ///// vsphere_cluster, vsphere_datacenter, vsphere_datastore, vmware_network
   180  /////
   181  ///// each element in the list must consist of:
   182  /////{
   183  /////        datacenter = "the-datacenter"
   184  /////        cluster = "the-cluster"
   185  /////        datastore = "the-datastore"
   186  /////        network = "the-portgroup"
   187  /////        distributed_virtual_switch_uuid = "uuid-of-the-dvs-where-the-portgroup-attached"
   188  /////}
   189  ///////////////////////////////////////////
   190  variable "failure_domains" {
   191    type = list(map(string))
   192    description = "defines a list of failure domains"
   193    default = []
   194  }