@@ -232,16 +232,17 @@ locals {
232
232
# cluster_config
233
233
# If no cluster_config list is provided, build a cluster_config using the default values
234
234
cluster_config_default = {
235
- instance_type = lookup (var. cluster_config , " instance_type" , null ) == null ? var.cluster_config_instance_type : lookup (var. cluster_config , " instance_type" )
236
- instance_count = lookup (var. cluster_config , " instance_count" , null ) == null ? var.cluster_config_instance_count : lookup (var. cluster_config , " instance_count" )
237
- dedicated_master_enabled = lookup (var. cluster_config , " dedicated_master_enabled" , null ) == null ? var.cluster_config_dedicated_master_enabled : lookup (var. cluster_config , " dedicated_master_enabled" )
238
- dedicated_master_type = lookup (var. cluster_config , " dedicated_master_type" , null ) == null ? var.cluster_config_dedicated_master_type : lookup (var. cluster_config , " dedicated_master_type" )
239
- dedicated_master_count = lookup (var. cluster_config , " dedicated_master_count" , null ) == null ? var.cluster_config_dedicated_master_count : lookup (var. cluster_config , " dedicated_master_count" )
240
- zone_awareness_enabled = lookup (var. cluster_config , " zone_awareness_enabled" , null ) == null ? var.cluster_config_zone_awareness_enabled : lookup (var. cluster_config , " zone_awareness_enabled" )
241
- availability_zone_count = lookup (var. cluster_config , " availability_zone_count" , null ) == null ? var.cluster_config_availability_zone_count : lookup (var. cluster_config , " availability_zone_count" )
242
- warm_enabled = lookup (var. cluster_config , " warm_enabled" , null ) == null ? var.cluster_config_warm_enabled : lookup (var. cluster_config , " warm_enabled" )
243
- warm_count = lookup (var. cluster_config , " warm_count" , null ) == null ? var.cluster_config_warm_count : lookup (var. cluster_config , " warm_count" )
244
- warm_type = lookup (var. cluster_config , " warm_type" , null ) == null ? var.cluster_config_warm_type : lookup (var. cluster_config , " warm_type" )
235
+ instance_type = lookup (var. cluster_config , " instance_type" , null ) == null ? var.cluster_config_instance_type : lookup (var. cluster_config , " instance_type" )
236
+ instance_count = lookup (var. cluster_config , " instance_count" , null ) == null ? var.cluster_config_instance_count : lookup (var. cluster_config , " instance_count" )
237
+ dedicated_master_enabled = lookup (var. cluster_config , " dedicated_master_enabled" , null ) == null ? var.cluster_config_dedicated_master_enabled : lookup (var. cluster_config , " dedicated_master_enabled" )
238
+ dedicated_master_type = lookup (var. cluster_config , " dedicated_master_type" , null ) == null ? var.cluster_config_dedicated_master_type : lookup (var. cluster_config , " dedicated_master_type" )
239
+ dedicated_master_count = lookup (var. cluster_config , " dedicated_master_count" , null ) == null ? var.cluster_config_dedicated_master_count : lookup (var. cluster_config , " dedicated_master_count" )
240
+ zone_awareness_enabled = lookup (var. cluster_config , " zone_awareness_enabled" , null ) == null ? var.cluster_config_zone_awareness_enabled : lookup (var. cluster_config , " zone_awareness_enabled" )
241
+ availability_zone_count = lookup (var. cluster_config , " availability_zone_count" , null ) == null ? var.cluster_config_availability_zone_count : lookup (var. cluster_config , " availability_zone_count" )
242
+ warm_enabled = lookup (var. cluster_config , " warm_enabled" , null ) == null ? var.cluster_config_warm_enabled : lookup (var. cluster_config , " warm_enabled" )
243
+ warm_count = lookup (var. cluster_config , " warm_count" , null ) == null ? var.cluster_config_warm_count : lookup (var. cluster_config , " warm_count" )
244
+ warm_type = lookup (var. cluster_config , " warm_type" , null ) == null ? var.cluster_config_warm_type : lookup (var. cluster_config , " warm_type" )
245
+ cold_storage_options_enabled = lookup (var. cluster_config , " cold_storage_options_enabled" , null ) == null ? var.cluster_config_cold_storage_options_enabled : lookup (var. cluster_config , " cold_storage_options_enabled" )
245
246
}
246
247
247
248
cluster_config = [local . cluster_config_default ]
0 commit comments