Skip to content
Snippets Groups Projects
variables.tf 1.66 KiB
Newer Older
variable "user_name" {
  type        = string
  description = "user name for use with openstack"
}

variable "user_domain_name" {
  type        = string
  default     = "uab"
  description = "the domain to use for the user"
}

variable "appcred_id" {
  type        = string
  description = "The app credential id. Get one from https://dashboard.cloud.rc.uab.edu/identity/application_credentials/"
}

variable "appcred_name" {
  type        = string
  description = "The name for your application credential"
}

variable "appcred_secret" {
  type        = string
  description = "The secret key for your application credential"
}

variable "ssh_keypair" {
  type        = string
  description = "ssh keypair name to use for authentication"
}

variable "base_image_name" {
  type        = string
Chris King's avatar
Chris King committed
  default     = "sles-15-sp2-x86_64"
  description = "base image to use for the cluster"
}

variable "osd_node_count" {
  type        = number
  default     = 3
  description = "amount of OSD nodes to create"
}
Chris King's avatar
Chris King committed

variable "public_network_dns" {
  type        = list(string)
  default     = ["138.26.134.2"]
  description = "dns to use for hosts - defaulted to one that works"
}

variable "sles_reg_code" {
  type        = string
  description = "Code to register instance with SUSE connect"
}

variable "sles_reg_email" {
  type        = string
  description = "Email to use for SUSE registration"
}

variable "sles_ses_reg" {
  type        = string
  description = "code to register for the storage package in SUSE"
}

variable "osd_disk_sizes" {
  type        = list(number)
  default     = [8, 8]
  description = "Amount and size of disks (in GB) to add to each OSD node. By default, add two 8GB nodes"
}