github.com/SUSE/skuba@v1.4.17/ci/infra/openstack/variables.tf (about) 1 variable "image_name" { 2 default = "" 3 description = "Name of the image to use" 4 } 5 6 variable "repositories" { 7 type = map(string) 8 default = {} 9 description = "Urls of the repositories to mount via cloud-init" 10 } 11 12 variable "internal_net" { 13 default = "" 14 description = "Name of the internal network to be created" 15 } 16 17 variable "internal_subnet" { 18 default = "" 19 description = "Name of the internal subnet to be created" 20 } 21 22 variable "internal_router" { 23 default = "" 24 description = "Name of the internal router to be created" 25 } 26 27 variable "subnet_cidr" { 28 default = "" 29 description = "CIDR of the subnet for the internal network" 30 } 31 32 variable "external_net" { 33 default = "" 34 description = "Name of the external network to be used, the one used to allocate floating IPs" 35 } 36 37 variable "master_size" { 38 default = "m1.medium" 39 description = "Size of the master nodes" 40 } 41 42 variable "masters" { 43 default = 1 44 description = "Number of master nodes" 45 } 46 47 variable "worker_size" { 48 default = "m1.medium" 49 description = "Size of the worker nodes" 50 } 51 52 variable "workers" { 53 default = 2 54 description = "Number of worker nodes" 55 } 56 57 variable "workers_vol_enabled" { 58 default = false 59 description = "Attach persistent volumes to workers" 60 } 61 62 variable "workers_vol_size" { 63 default = 5 64 description = "size of the volumes in GB" 65 } 66 67 variable "dnsdomain" { 68 default = "" 69 description = "Name of DNS domain" 70 } 71 72 variable "dnsentry" { 73 default = false 74 description = "DNS Entry" 75 } 76 77 variable "stack_name" { 78 default = "" 79 description = "Identifier to make all your resources unique and avoid clashes with other users of this terraform project" 80 } 81 82 variable "authorized_keys" { 83 type = list(string) 84 default = [] 85 description = "SSH keys to inject into all the nodes" 86 } 87 88 variable "key_pair" { 89 default = "" 90 description = "SSH key stored in openstack to create the nodes with" 91 } 92 93 variable "ntp_servers" { 94 type = list(string) 95 default = [] 96 description = "List of ntp servers to configure" 97 } 98 99 variable "packages" { 100 type = list(string) 101 102 default = [ 103 "kernel-default", 104 "-kernel-default-base", 105 ] 106 107 description = "list of additional packages to install" 108 } 109 110 variable "username" { 111 default = "sles" 112 description = "Default user for the cluster nodes created by cloud-init default configuration for all SUSE SLES systems" 113 } 114 115 variable "password" { 116 default = "sles" 117 description = "Default password for the cluster nodes created by cloud-init default configuration for all SUSE SLES systems" 118 } 119 120 variable "caasp_registry_code" { 121 default = "" 122 description = "SUSE CaaSP Product Registration Code" 123 } 124 125 variable "rmt_server_name" { 126 default = "" 127 description = "SUSE Repository Mirroring Server Name" 128 } 129 130 variable "cpi_enable" { 131 default = false 132 description = "Enable CPI integration with OpenStack" 133 } 134 135 variable "ca_file" { 136 default = "" 137 description = "Used to specify the path to your custom CA file" 138 } 139