@@ -17,90 +17,105 @@ variable "availability_zones" {
1717 description = " List of availability_zones for workers."
1818 type = list (string )
1919 default = []
20+ nullable = false
2021}
2122
2223variable "vpc_cidr" {
2324 description = " CIDR to use for the VPC."
2425 type = string
2526 default = " 10.0.0.0/16"
27+ nullable = false
2628}
2729
2830variable "vpc_legacy_node_subnets" {
2931 description = " Whether to keep the legacy node subnets for backwards compatibility."
3032 type = bool
3133 default = false
34+ nullable = false
3235}
3336
3437variable "vpc_control_subnet_newbits" {
3538 description = " CIDR newbits to use for the control plane subnets."
3639 type = string
3740 default = " 8"
41+ nullable = false
3842}
3943
4044variable "vpc_dns_hostnames" {
4145 description = " Enable DNS hostnames in the VPC."
4246 type = bool
4347 default = false
48+ nullable = false
4449}
4550
4651variable "vpc_dns_support" {
4752 description = " Enable DNS support in the VPC."
4853 type = bool
4954 default = true
55+ nullable = false
5056}
5157
5258variable "vpc_node_subnet_newbits" {
5359 description = " CIDR newbits to use for the node pool subnets."
5460 type = string
5561 default = " 4"
62+ nullable = false
5663}
5764
5865variable "vpc_node_subnet_number_offset" {
5966 description = " CIDR subnet number offset to use for the node pool subnets."
6067 type = string
6168 default = " 1"
69+ nullable = false
6270}
6371
6472variable "vpc_subnet_map_public_ip" {
6573 description = " Whether nodes should have public IPs."
6674 type = bool
6775 default = true
76+ nullable = false
6877}
6978
7079variable "instance_types" {
7180 description = " Set of AWS instance types to use for nodes."
7281 type = set (string )
7382 default = []
83+ nullable = false
7484}
7585
7686variable "desired_capacity" {
7787 description = " Desired number of worker nodes."
7888 type = number
7989 default = 1
90+ nullable = false
8091}
8192
8293variable "max_size" {
8394 description = " Maximum number of worker nodes."
8495 type = number
8596 default = 1
97+ nullable = false
8698}
8799
88100variable "min_size" {
89101 description = " Minimum number of worker nodes."
90102 type = number
91103 default = 1
104+ nullable = false
92105}
93106
94107variable "root_device_encrypted" {
95108 type = bool
96109 default = true
97110 description = " Whether to encrypt root device volumes of worker nodes."
111+ nullable = false
98112}
99113
100114variable "root_device_volume_size" {
101115 type = number
102116 default = 20
103117 description = " Size in GB for root device volumes of worker nodes."
118+ nullable = false
104119}
105120
106121variable "taints" {
@@ -116,42 +131,49 @@ variable "additional_node_tags" {
116131 type = map (string )
117132 default = {}
118133 description = " Additional AWS tags to set on the node pool."
134+ nullable = false
119135}
120136
121137variable "aws_auth_map_roles" {
122138 description = " mapRoles entries added to aws-auth configmap"
123139 type = string
124140 default = " "
141+ nullable = false
125142}
126143
127144variable "aws_auth_map_users" {
128145 description = " mapUsers entries added to aws-auth configmap"
129146 type = string
130147 default = " "
148+ nullable = false
131149}
132150
133151variable "aws_auth_map_accounts" {
134152 description = " mapAccounts entries added to aws-auth configmap"
135153 type = string
136154 default = " "
155+ nullable = false
137156}
138157
139158variable "disable_default_ingress" {
140159 type = bool
141160 description = " Whether to disable the default ingress."
142161 default = false
162+ nullable = false
143163}
144164
145165variable "enabled_cluster_log_types" {
146166 type = list (string )
147167 description = " List of cluster log types to enable."
148168 default = [" api" , " audit" , " authenticator" , " controllerManager" , " scheduler" ]
169+ nullable = false
149170}
150171
151172variable "disable_openid_connect_provider" {
152173 type = bool
153174 description = " Whether to disable the OpenID connect provider."
154175 default = false
176+ nullable = false
155177}
156178
157179variable "cluster_version" {
@@ -163,12 +185,14 @@ variable "cluster_endpoint_private_access" {
163185 type = bool
164186 default = false
165187 description = " Whether the Amazon EKS private API server endpoint is enabled (making the kubernetes API endpoint accessible from the internal network)."
188+ nullable = false
166189}
167190
168191variable "cluster_endpoint_public_access" {
169192 type = bool
170193 default = true
171194 description = " Whether the Amazon EKS public API server endpoint is enabled (making the kubernetes API endpoint accessible from the public internet)."
195+ nullable = false
172196}
173197
174198variable "cluster_public_access_cidrs" {
0 commit comments