c12s-kubespray/contrib/terraform/openstack/modules/compute/variables.tf

233 lines
3.8 KiB
Terraform
Raw Normal View History

2018-01-05 11:09:04 +00:00
variable "cluster_name" {}
variable "az_list" {
type = list(string)
}
variable "az_list_node" {
type = list(string)
}
2018-01-05 11:09:04 +00:00
variable "number_of_k8s_masters" {}
2018-01-05 11:09:04 +00:00
variable "number_of_k8s_masters_no_etcd" {}
2018-01-05 11:09:04 +00:00
variable "number_of_etcd" {}
2018-01-05 11:09:04 +00:00
variable "number_of_k8s_masters_no_floating_ip" {}
2018-01-05 11:09:04 +00:00
variable "number_of_k8s_masters_no_floating_ip_no_etcd" {}
2018-01-05 11:09:04 +00:00
variable "number_of_k8s_nodes" {}
2018-01-05 11:09:04 +00:00
variable "number_of_k8s_nodes_no_floating_ip" {}
2018-01-05 11:09:04 +00:00
variable "number_of_bastions" {}
2018-01-05 11:09:04 +00:00
variable "number_of_gfs_nodes_no_floating_ip" {}
variable "bastion_root_volume_size_in_gb" {}
variable "etcd_root_volume_size_in_gb" {}
variable "master_root_volume_size_in_gb" {}
variable "node_root_volume_size_in_gb" {}
variable "gfs_root_volume_size_in_gb" {}
2018-01-05 11:09:04 +00:00
variable "gfs_volume_size_in_gb" {}
variable "master_volume_type" {}
variable "node_volume_type" {}
2018-01-05 11:09:04 +00:00
variable "public_key_path" {}
2018-01-05 11:09:04 +00:00
variable "image" {}
2018-01-05 11:09:04 +00:00
variable "image_gfs" {}
2018-01-05 11:09:04 +00:00
variable "ssh_user" {}
2018-01-05 11:09:04 +00:00
variable "ssh_user_gfs" {}
2018-01-05 11:09:04 +00:00
variable "flavor_k8s_master" {}
2018-01-05 11:09:04 +00:00
variable "flavor_k8s_node" {}
2018-01-05 11:09:04 +00:00
variable "flavor_etcd" {}
2018-01-05 11:09:04 +00:00
variable "flavor_gfs_node" {}
2018-01-05 11:09:04 +00:00
variable "network_name" {}
2018-01-05 11:09:04 +00:00
variable "flavor_bastion" {}
variable "network_id" {
default = ""
}
variable "use_existing_network" {
type = bool
}
variable "network_router_id" {
default = ""
}
variable "k8s_master_fips" {
type = list
}
variable "k8s_master_no_etcd_fips" {
type = list
}
variable "k8s_node_fips" {
type = list
}
variable "k8s_masters_fips" {
type = map
}
variable "k8s_nodes_fips" {
type = map
}
variable "bastion_fips" {
type = list
}
variable "bastion_allowed_remote_ips" {
type = list
}
variable "master_allowed_remote_ips" {
type = list
}
variable "k8s_allowed_remote_ips" {
type = list
}
variable "k8s_allowed_egress_ips" {
type = list
}
variable "k8s_masters" {
type = map(object({
az = string
flavor = string
floating_ip = bool
etcd = bool
image_id = optional(string)
root_volume_size_in_gb = optional(number)
volume_type = optional(string)
}))
}
variable "k8s_nodes" {
type = map(object({
az = string
flavor = string
floating_ip = bool
extra_groups = optional(string)
image_id = optional(string)
root_volume_size_in_gb = optional(number)
volume_type = optional(string)
additional_server_groups = optional(list(string))
server_group = optional(string)
cloudinit = optional(object({
extra_partitions = list(object({
volume_path = string
partition_path = string
partition_start = string
partition_end = string
mount_path = string
}))
}))
}))
}
variable "additional_server_groups" {
type = map(object({
policy = string
}))
}
variable "supplementary_master_groups" {
default = ""
}
variable "supplementary_node_groups" {
default = ""
}
variable "master_allowed_ports" {
type = list
}
variable "worker_allowed_ports" {
type = list
}
variable "bastion_allowed_ports" {
type = list
}
variable "use_access_ip" {}
variable "master_server_group_policy" {
type = string
}
variable "node_server_group_policy" {
type = string
}
variable "etcd_server_group_policy" {
type = string
}
variable "extra_sec_groups" {
type = bool
}
variable "extra_sec_groups_name" {
type = string
}
variable "image_uuid" {
type = string
}
variable "image_gfs_uuid" {
type = string
}
variable "image_master" {
type = string
}
variable "image_master_uuid" {
type = string
}
variable "group_vars_path" {
type = string
}
variable "port_security_enabled" {
type = bool
}
variable "force_null_port_security" {
type = bool
}
variable "private_subnet_id" {
type = string
}