2018-01-05 11:09:04 +00:00
|
|
|
variable "cluster_name" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-07-31 09:18:27 +00:00
|
|
|
variable "az_list" {
|
2020-02-18 12:29:27 +00:00
|
|
|
type = list(string)
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "az_list_node" {
|
|
|
|
type = list(string)
|
2018-07-31 09:18:27 +00:00
|
|
|
}
|
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "number_of_k8s_masters" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "number_of_k8s_masters_no_etcd" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "number_of_etcd" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "number_of_k8s_masters_no_floating_ip" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "number_of_k8s_masters_no_floating_ip_no_etcd" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "number_of_k8s_nodes" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "number_of_k8s_nodes_no_floating_ip" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "number_of_bastions" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "number_of_gfs_nodes_no_floating_ip" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2019-09-25 12:17:59 +00:00
|
|
|
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" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2020-08-18 07:49:29 +00:00
|
|
|
variable "master_volume_type" {}
|
|
|
|
|
2021-11-30 20:59:01 +00:00
|
|
|
variable "node_volume_type" {}
|
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "public_key_path" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "image" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "image_gfs" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "ssh_user" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "ssh_user_gfs" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "flavor_k8s_master" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "flavor_k8s_node" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "flavor_etcd" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "flavor_gfs_node" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "network_name" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-01-05 11:09:04 +00:00
|
|
|
variable "flavor_bastion" {}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2018-10-19 10:39:34 +00:00
|
|
|
variable "network_id" {
|
|
|
|
default = ""
|
|
|
|
}
|
2017-12-05 12:48:47 +00:00
|
|
|
|
2022-05-03 15:51:56 +00:00
|
|
|
variable "use_existing_network" {
|
|
|
|
type = bool
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "network_router_id" {
|
|
|
|
default = ""
|
|
|
|
}
|
|
|
|
|
2017-12-05 12:48:47 +00:00
|
|
|
variable "k8s_master_fips" {
|
2020-08-05 08:32:28 +00:00
|
|
|
type = list
|
2017-12-05 12:48:47 +00:00
|
|
|
}
|
|
|
|
|
2019-04-29 05:58:20 +00:00
|
|
|
variable "k8s_master_no_etcd_fips" {
|
2020-08-05 08:32:28 +00:00
|
|
|
type = list
|
2019-04-29 05:58:20 +00:00
|
|
|
}
|
|
|
|
|
2017-12-05 12:48:47 +00:00
|
|
|
variable "k8s_node_fips" {
|
2020-08-05 08:32:28 +00:00
|
|
|
type = list
|
2017-12-05 12:48:47 +00:00
|
|
|
}
|
|
|
|
|
2022-05-03 15:51:56 +00:00
|
|
|
variable "k8s_masters_fips" {
|
|
|
|
type = map
|
|
|
|
}
|
|
|
|
|
2020-04-16 14:52:45 +00:00
|
|
|
variable "k8s_nodes_fips" {
|
2020-08-05 08:32:28 +00:00
|
|
|
type = map
|
2020-04-16 14:52:45 +00:00
|
|
|
}
|
|
|
|
|
2017-12-05 12:48:47 +00:00
|
|
|
variable "bastion_fips" {
|
2020-08-05 08:32:28 +00:00
|
|
|
type = list
|
2017-12-05 12:48:47 +00:00
|
|
|
}
|
2018-04-30 15:11:07 +00:00
|
|
|
|
2018-09-28 09:35:02 +00:00
|
|
|
variable "bastion_allowed_remote_ips" {
|
2020-08-05 08:32:28 +00:00
|
|
|
type = list
|
2018-09-28 09:35:02 +00:00
|
|
|
}
|
|
|
|
|
2019-04-21 08:57:44 +00:00
|
|
|
variable "master_allowed_remote_ips" {
|
2020-08-05 08:32:28 +00:00
|
|
|
type = list
|
2019-04-21 08:57:44 +00:00
|
|
|
}
|
|
|
|
|
2019-04-15 14:22:08 +00:00
|
|
|
variable "k8s_allowed_remote_ips" {
|
2020-08-05 08:32:28 +00:00
|
|
|
type = list
|
2019-04-15 14:22:08 +00:00
|
|
|
}
|
|
|
|
|
2019-04-17 09:10:03 +00:00
|
|
|
variable "k8s_allowed_egress_ips" {
|
2020-08-05 08:32:28 +00:00
|
|
|
type = list
|
2019-04-17 09:10:03 +00:00
|
|
|
}
|
|
|
|
|
2022-10-25 09:48:39 +00:00
|
|
|
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
|
|
|
|
}))
|
|
|
|
}
|
2020-04-16 14:52:45 +00:00
|
|
|
|
2018-04-30 15:11:07 +00:00
|
|
|
variable "supplementary_master_groups" {
|
|
|
|
default = ""
|
|
|
|
}
|
2018-06-28 14:32:59 +00:00
|
|
|
|
|
|
|
variable "supplementary_node_groups" {
|
|
|
|
default = ""
|
|
|
|
}
|
2018-10-31 11:09:22 +00:00
|
|
|
|
2020-08-27 09:07:13 +00:00
|
|
|
variable "master_allowed_ports" {
|
|
|
|
type = list
|
|
|
|
}
|
|
|
|
|
2018-10-31 11:09:22 +00:00
|
|
|
variable "worker_allowed_ports" {
|
2020-08-05 08:32:28 +00:00
|
|
|
type = list
|
2018-10-31 11:09:22 +00:00
|
|
|
}
|
2019-10-07 11:09:09 +00:00
|
|
|
|
2022-09-28 05:03:35 +00:00
|
|
|
variable "bastion_allowed_ports" {
|
|
|
|
type = list
|
|
|
|
}
|
|
|
|
|
2019-12-09 09:15:10 +00:00
|
|
|
variable "use_access_ip" {}
|
|
|
|
|
2021-11-22 10:53:09 +00:00
|
|
|
variable "master_server_group_policy" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "node_server_group_policy" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "etcd_server_group_policy" {
|
|
|
|
type = string
|
2020-02-18 12:29:27 +00:00
|
|
|
}
|
2020-11-05 13:30:54 +00:00
|
|
|
|
|
|
|
variable "extra_sec_groups" {
|
|
|
|
type = bool
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "extra_sec_groups_name" {
|
|
|
|
type = string
|
2021-02-16 15:05:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "image_uuid" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "image_gfs_uuid" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "image_master" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "image_master_uuid" {
|
|
|
|
type = string
|
|
|
|
}
|
2021-06-25 07:26:45 +00:00
|
|
|
|
|
|
|
variable "group_vars_path" {
|
|
|
|
type = string
|
|
|
|
}
|
2022-01-14 20:58:32 +00:00
|
|
|
|
|
|
|
variable "port_security_enabled" {
|
|
|
|
type = bool
|
|
|
|
}
|
2022-05-03 15:51:56 +00:00
|
|
|
|
|
|
|
variable "force_null_port_security" {
|
|
|
|
type = bool
|
|
|
|
}
|
2022-09-30 07:48:29 +00:00
|
|
|
|
|
|
|
variable "private_subnet_id" {
|
|
|
|
type = string
|
|
|
|
}
|