github.com/SUSE/skuba@v1.4.17/ci/infra/libvirt/variables.tf (about)

     1  variable "libvirt_uri" {
     2    default     = "qemu:///system"
     3    description = "URL of libvirt connection - default to localhost"
     4  }
     5  
     6  variable "libvirt_keyfile" {
     7    default     = ""
     8    description = "The private key file used for libvirt connection - default to none"
     9  }
    10  
    11  variable "pool" {
    12    default     = "default"
    13    description = "Pool to be used to store all the volumes"
    14  }
    15  
    16  variable "image_uri" {
    17    default     = ""
    18    description = "URL of the image to use"
    19  }
    20  
    21  variable "repositories" {
    22    type        = map(string)
    23    default     = {}
    24    description = "Urls of the repositories to mount via cloud-init"
    25  }
    26  
    27  variable "stack_name" {
    28    default     = ""
    29    description = "Identifier to make all your resources unique and avoid clashes with other users of this terraform project"
    30  }
    31  
    32  variable "authorized_keys" {
    33    type        = list(string)
    34    default     = []
    35    description = "SSH keys to inject into all the nodes"
    36  }
    37  
    38  variable "ntp_servers" {
    39    type        = list(string)
    40    default     = []
    41    description = "List of NTP servers to configure"
    42  }
    43  
    44  variable "packages" {
    45    type = list(string)
    46  
    47    default = [
    48      "kernel-default",
    49      "-kernel-default-base",
    50    ]
    51  
    52    description = "List of packages to install"
    53  }
    54  
    55  variable "username" {
    56    default     = "sles"
    57    description = "Username for the cluster nodes"
    58  }
    59  
    60  variable "caasp_registry_code" {
    61    default     = ""
    62    description = "SUSE CaaSP Product Registration Code"
    63  }
    64  
    65  variable "ha_registry_code" {
    66    default     = ""
    67    description = "SUSE Linux Enterprise High Availability Extension Registration Code"
    68  }
    69  
    70  variable "rmt_server_name" {
    71    default     = ""
    72    description = "SUSE Repository Mirroring Server Name"
    73  }
    74  
    75  variable "dns_domain" {
    76    type        = string
    77    default     = "caasp.local"
    78    description = "Name of DNS Domain"
    79  }
    80  
    81  variable "network_cidr" {
    82    type        = string
    83    default     = "10.17.0.0/22"
    84    description = "Network used by the cluster"
    85  }
    86  
    87  variable "network_mode" {
    88    type        = string
    89    default     = "nat"
    90    description = "Network mode used by the cluster"
    91  }
    92  
    93  variable "network_name" {
    94    default     = ""
    95    description = "The virtual network name to use. If provided just use the given one (not managed by terraform), otherwise terraform creates a new virtual network resource"
    96  }
    97  
    98  variable "create_lb" {
    99    type        = bool
   100    default     = true
   101    description = "Create load balancer node exposing master nodes"
   102  }
   103  
   104  variable "lb_memory" {
   105    default     = 4096
   106    description = "Amount of RAM for a load balancer node"
   107  }
   108  
   109  variable "lb_vcpu" {
   110    default     = 1
   111    description = "Amount of virtual CPUs for a load balancer node"
   112  }
   113  
   114  variable "lb_disk_size" {
   115    default     = "25769803776"
   116    description = "Disk size (in bytes)"
   117  }
   118  
   119  variable "lb_repositories" {
   120    type = map(string)
   121  
   122    default = {
   123      sle_server_pool    = "http://download.suse.de/ibs/SUSE/Products/SLE-Product-SLES/15-SP1/x86_64/product/"
   124      basesystem_pool    = "http://download.suse.de/ibs/SUSE/Products/SLE-Module-Basesystem/15-SP1/x86_64/product/"
   125      ha_pool            = "http://download.suse.de/ibs/SUSE/Products/SLE-Product-HA/15-SP1/x86_64/product/"
   126      ha_updates         = "http://download.suse.de/ibs/SUSE/Updates/SLE-Product-HA/15-SP1/x86_64/update/"
   127      sle_server_updates = "http://download.suse.de/ibs/SUSE/Updates/SLE-Product-SLES/15-SP1/x86_64/update/"
   128      basesystem_updates = "http://download.suse.de/ibs/SUSE/Updates/SLE-Module-Basesystem/15-SP1/x86_64/update/"
   129    }
   130  }
   131  
   132  variable "masters" {
   133    default     = 1
   134    description = "Number of master nodes"
   135  }
   136  
   137  variable "master_memory" {
   138    default     = 4096
   139    description = "Amount of RAM for a master"
   140  }
   141  
   142  variable "master_vcpu" {
   143    default     = 2
   144    description = "Amount of virtual CPUs for a master"
   145  }
   146  
   147  variable "master_disk_size" {
   148    default     = "25769803776"
   149    description = "Disk size (in bytes)"
   150  }
   151  
   152  variable "workers" {
   153    default     = 2
   154    description = "Number of worker nodes"
   155  }
   156  
   157  variable "worker_memory" {
   158    default     = 4096
   159    description = "Amount of RAM for a worker"
   160  }
   161  
   162  variable "worker_vcpu" {
   163    default     = 2
   164    description = "Amount of virtual CPUs for a worker"
   165  }
   166  
   167  variable "worker_disk_size" {
   168    default     = "25769803776"
   169    description = "Disk size (in bytes)"
   170  }