diff --git a/docs/data-sources/app.md b/docs/data-sources/app.md index b0b421c6a..d9b2b44d3 100644 --- a/docs/data-sources/app.md +++ b/docs/data-sources/app.md @@ -13,7 +13,7 @@ This data source allows you to fetch information about a Databricks App. ```hcl data "databricks_app" "this" { - name = "my-custom-app" + name = "my-custom-app" } ``` diff --git a/docs/data-sources/mws_network_connectivity_configs.md b/docs/data-sources/mws_network_connectivity_configs.md index e8f654271..71251c103 100755 --- a/docs/data-sources/mws_network_connectivity_configs.md +++ b/docs/data-sources/mws_network_connectivity_configs.md @@ -33,7 +33,7 @@ provider "databricks" { } data "databricks_mws_network_connectivity_configs" "this" { - region = "us-east-1" + region = "us-east-1" } output "filtered" { diff --git a/docs/data-sources/serving_endpoints.md b/docs/data-sources/serving_endpoints.md index c1d314880..404cc893d 100644 --- a/docs/data-sources/serving_endpoints.md +++ b/docs/data-sources/serving_endpoints.md @@ -14,7 +14,7 @@ data "databricks_serving_endpoints" "all" { } resource "databricks_permissions" "ml_serving_usage" { - for_each = databricks_serving_endpoints.all.endpoints + for_each = databricks_serving_endpoints.all.endpoints serving_endpoint_id = each.value.id access_control { diff --git a/docs/resources/app.md b/docs/resources/app.md index ab6ba214b..e568f3f9a 100644 --- a/docs/resources/app.md +++ b/docs/resources/app.md @@ -11,28 +11,29 @@ subcategory: "Apps" ```hcl resource "databricks_app" "this" { - name = "my-custom-app" - description = "My app" + name = "my-custom-app" + description = "My app" + resources = [{ name = "sql-warehouse" sql_warehouse = { - id = "e9ca293f79a74b5c" - permission = "CAN_MANAGE" - } - }, - { - name = "serving-endpoint" - serving_endpoint = { - name = "databricks-meta-llama-3-1-70b-instruct" - permission = "CAN_MANAGE" - } - }, - { - name = "job" - job = { - id = "1234" + id = "e9ca293f79a74b5c" permission = "CAN_MANAGE" } + }, + { + name = "serving-endpoint" + serving_endpoint = { + name = "databricks-meta-llama-3-1-70b-instruct" + permission = "CAN_MANAGE" + } + }, + { + name = "job" + job = { + id = "1234" + permission = "CAN_MANAGE" + } }] } ``` diff --git a/docs/resources/custom_app_integration.md b/docs/resources/custom_app_integration.md index 01b3c99ff..47318aea7 100644 --- a/docs/resources/custom_app_integration.md +++ b/docs/resources/custom_app_integration.md @@ -11,13 +11,13 @@ This resource allows you to enable [custom OAuth applications](https://docs.data ```hcl resource "databricks_custom_app_integration" "this" { - name = "custom_integration_name" - redirect_urls = ["https://example.com"] - scopes = ["all-apis"] - token_access_policy { - access_token_ttl_in_minutes = 15 - refresh_token_ttl_in_minutes = 30 - } + name = "custom_integration_name" + redirect_urls = ["https://example.com"] + scopes = ["all-apis"] + token_access_policy { + access_token_ttl_in_minutes = 15 + refresh_token_ttl_in_minutes = 30 + } } ``` diff --git a/docs/resources/grant.md b/docs/resources/grant.md index e5f562f7d..cdfa97aa4 100644 --- a/docs/resources/grant.md +++ b/docs/resources/grant.md @@ -50,8 +50,8 @@ See [databricks_grants Catalog grants](grants.md#catalog-grants) for the list of ```hcl resource "databricks_catalog" "sandbox" { - name = "sandbox" - comment = "this catalog is managed by terraform" + name = "sandbox" + comment = "this catalog is managed by terraform" properties = { purpose = "testing" } diff --git a/docs/resources/lakehouse_monitor.md b/docs/resources/lakehouse_monitor.md index 635399dcc..b55c90abd 100644 --- a/docs/resources/lakehouse_monitor.md +++ b/docs/resources/lakehouse_monitor.md @@ -37,8 +37,8 @@ resource "databricks_sql_table" "myTestTable" { data_source_format = "DELTA" column { - name = "timestamp" - type = "int" + name = "timestamp" + type = "int" } } diff --git a/docs/resources/quality_monitor.md b/docs/resources/quality_monitor.md index 64e06f187..7e5b8cfff 100644 --- a/docs/resources/quality_monitor.md +++ b/docs/resources/quality_monitor.md @@ -38,8 +38,8 @@ resource "databricks_sql_table" "myTestTable" { data_source_format = "DELTA" column { - name = "timestamp" - type = "int" + name = "timestamp" + type = "int" } }