@@ -29,29 +29,28 @@ variable "instance_types" {
2929}
3030
3131variable "desired_size" {
32- type = string
32+ type = number
3333 description = " Desired number of worker nodes."
3434}
3535
3636variable "max_size" {
37- type = string
37+ type = number
3838 description = " Maximum number of worker nodes."
3939}
4040
4141variable "min_size" {
42- type = string
42+ type = number
4343 description = " Minimum number of worker nodes."
4444}
4545
4646variable "disk_size" {
47- type = string
48- default = " 20"
49- description = " Will set the volume size of the root device"
47+ type = number
48+ description = " Size in GB of node root volumes."
5049}
5150
5251variable "subnet_ids" {
53- type = list (string )
54- description = " List of VPC subnet IDs to use for nodes."
52+ type = set (string )
53+ description = " Set of VPC subnet IDs to use for nodes."
5554}
5655
5756variable "depends-on-aws-auth" {
@@ -71,13 +70,11 @@ variable "taints" {
7170variable "tags" {
7271 type = map (string )
7372 description = " AWS tags to set on the node pool. Merged with Kubestack default tags."
74- default = {}
7573}
7674
7775variable "labels" {
7876 type = map (string )
7977 description = " Kubernetes labels to set on the nodes created by the node pool. Merged with Kubestack default labels."
80- default = {}
8178}
8279
8380variable "ami_type" {
@@ -88,7 +85,6 @@ variable "ami_type" {
8885variable "ami_release_version" {
8986 type = string
9087 description = " AMI version of the EKS Node Group. Defaults to latest version for Kubernetes version"
91- default = null
9288}
9389
9490variable "kubernetes_version" {
@@ -99,10 +95,10 @@ variable "kubernetes_version" {
9995variable "metadata_options" {
10096 description = " EC2 metadata service options."
10197 type = object ({
102- http_endpoint = optional ( string )
103- http_tokens = optional ( string )
104- http_put_response_hop_limit = optional ( number )
105- http_protocol_ipv6 = optional ( string )
106- instance_metadata_tags = optional ( string )
98+ http_endpoint = string
99+ http_tokens = string
100+ http_put_response_hop_limit = number
101+ http_protocol_ipv6 = string
102+ instance_metadata_tags = string
107103 })
108104}
0 commit comments