Newer
Older
variable "user_name" {
type = string
description = "user name for use with openstack"
}
variable "user_domain_name" {
type = string
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
description = "base image to use for the cluster"
}
variable "base_image_visibility" {
type = string
default = "null"
description = "visibility of base image"
validation {
condition = can(regex("^(public|private|community|shared|null)$", var.base_image_visibility))
error_message = "Must be one of \"public\", \"private\", \"community\", or \"shared\"."
}
}
variable "osd_node_count" {
type = number
default = 3
description = "amount of OSD nodes to create"
}
description = "dns to use for hosts"
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"
}
variable "app_instance_count" {
type = number
default = 0
description = "Additional nodes to add for testing other features (rgw, rbd, etc)"
}