File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,14 @@ resource "databricks_cluster" "cluster" {
27
27
single_user_name = each. value . single_user_name
28
28
custom_tags = merge (each. value . single_node_enable ? { " ResourceClass" = " SingleNode" } : {}, each. value . custom_tags )
29
29
30
- dynamic "azure_attributes" {
31
- for_each = each. value . single_node_enable == true ? [] : [1 ]
32
- content {
33
- availability = each. value . availability
34
- first_on_demand = each. value . first_on_demand
35
- spot_bid_max_price = each. value . spot_bid_max_price
36
- }
30
+ azure_attributes {
31
+ availability = each. value . availability
32
+ first_on_demand = each. value . first_on_demand
33
+ spot_bid_max_price = each. value . spot_bid_max_price
37
34
}
38
35
39
36
dynamic "autoscale" {
40
- for_each = each. value . single_node_enable == true ? [] : [1 ]
37
+ for_each = each. value . single_node_enable ? [] : [1 ]
41
38
content {
42
39
min_workers = each. value . min_workers
43
40
max_workers = each. value . max_workers
You can’t perform that action at this time.
0 commit comments