Skip to content

Commit f7c6ade

Browse files
committed
updating files for azure
1 parent a0b39ed commit f7c6ade

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

cluster.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,26 +40,26 @@ resource "databricks_cluster" "cluster" {
4040
dynamic "azure_attributes" {
4141
for_each = var.azure_attributes == null ? [] : [var.azure_attributes]
4242
content {
43-
first_on_demand = lookup(azure_attributes.value, "first_on_demand", null)
44-
availability = lookup(azure_attributes.value, "availability", null)
45-
spot_bid_max_price = lookup(azure_attributes.value, "spot_bid_max_price", null)
43+
first_on_demand = lookup(azure_attributes.value, "first_on_demand", null)
44+
availability = lookup(azure_attributes.value, "availability", null)
45+
spot_bid_max_price = lookup(azure_attributes.value, "spot_bid_max_price", null)
4646
}
4747
}
4848

4949
dynamic "gcp_attributes" {
5050
for_each = var.gcp_attributes == null ? [] : [var.gcp_attributes]
5151
content {
52-
first_on_demand = lookup(gcp_attributes.value, "first_on_demand", null)
53-
availability = lookup(gcp_attributes.value, "availability", null)
54-
spot_bid_max_price = lookup(gcp_attributes.value, "spot_bid_max_price", null)
52+
first_on_demand = lookup(gcp_attributes.value, "first_on_demand", null)
53+
availability = lookup(gcp_attributes.value, "availability", null)
54+
spot_bid_max_price = lookup(gcp_attributes.value, "spot_bid_max_price", null)
5555
}
5656
}
5757

5858
autotermination_minutes = var.cluster_autotermination_minutes
5959
custom_tags = var.fixed_value == 0 ? merge({ "ResourceClass" = "SingleNode" }, var.custom_tags) : var.custom_tags
6060

6161
spark_conf = var.fixed_value == 0 ? { "spark.databricks.cluster.profile" : "singleNode"
62-
"spark.master" : "local[*]" } : var.spark_conf
62+
"spark.master" : "local[*]" } : var.spark_conf
6363

6464
spark_env_vars = var.spark_env_vars
6565
}

examples/clusters/3_standard_cluster_with_auto_scaling/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module "databricks_workspace_management" {
2020
# ------------------------------------------------
2121
deploy_cluster = true
2222

23-
auto_scaling = [3, 5]
23+
auto_scaling = [3, 5]
2424

2525
custom_tags = {
2626
"Application" : "DemoApp"

0 commit comments

Comments
 (0)