File tree Expand file tree Collapse file tree 8 files changed +34
-33
lines changed Expand file tree Collapse file tree 8 files changed +34
-33
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ This data source allows you to fetch information about a Databricks App.
1313
1414``` hcl
1515data "databricks_app" "this" {
16- name = "my-custom-app"
16+ name = "my-custom-app"
1717}
1818```
1919
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ provider "databricks" {
3333}
3434
3535data "databricks_mws_network_connectivity_configs" "this" {
36- region = "us-east-1"
36+ region = "us-east-1"
3737}
3838
3939output "filtered" {
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ data "databricks_serving_endpoints" "all" {
1414}
1515
1616resource "databricks_permissions" "ml_serving_usage" {
17- for_each = databricks_serving_endpoints.all.endpoints
17+ for_each = databricks_serving_endpoints.all.endpoints
1818 serving_endpoint_id = each.value.id
1919
2020 access_control {
Original file line number Diff line number Diff line change @@ -11,28 +11,29 @@ subcategory: "Apps"
1111
1212``` hcl
1313resource "databricks_app" "this" {
14- name = "my-custom-app"
15- description = "My app"
14+ name = "my-custom-app"
15+ description = "My app"
16+
1617 resources = [{
1718 name = "sql-warehouse"
1819 sql_warehouse = {
19- id = "e9ca293f79a74b5c"
20- permission = "CAN_MANAGE"
21- }
22- },
23- {
24- name = "serving-endpoint"
25- serving_endpoint = {
26- name = "databricks-meta-llama-3-1-70b-instruct"
27- permission = "CAN_MANAGE"
28- }
29- },
30- {
31- name = "job"
32- job = {
33- id = "1234"
20+ id = "e9ca293f79a74b5c"
3421 permission = "CAN_MANAGE"
3522 }
23+ },
24+ {
25+ name = "serving-endpoint"
26+ serving_endpoint = {
27+ name = "databricks-meta-llama-3-1-70b-instruct"
28+ permission = "CAN_MANAGE"
29+ }
30+ },
31+ {
32+ name = "job"
33+ job = {
34+ id = "1234"
35+ permission = "CAN_MANAGE"
36+ }
3637 }]
3738}
3839```
Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ This resource allows you to enable [custom OAuth applications](https://docs.data
1111
1212``` hcl
1313resource "databricks_custom_app_integration" "this" {
14- name = "custom_integration_name"
15- redirect_urls = ["https://example.com"]
16- scopes = ["all-apis"]
17- token_access_policy {
18- access_token_ttl_in_minutes = 15
19- refresh_token_ttl_in_minutes = 30
20- }
14+ name = "custom_integration_name"
15+ redirect_urls = ["https://example.com"]
16+ scopes = ["all-apis"]
17+ token_access_policy {
18+ access_token_ttl_in_minutes = 15
19+ refresh_token_ttl_in_minutes = 30
20+ }
2121}
2222```
2323
Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ See [databricks_grants Catalog grants](grants.md#catalog-grants) for the list of
5050
5151``` hcl
5252resource "databricks_catalog" "sandbox" {
53- name = "sandbox"
54- comment = "this catalog is managed by terraform"
53+ name = "sandbox"
54+ comment = "this catalog is managed by terraform"
5555 properties = {
5656 purpose = "testing"
5757 }
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ resource "databricks_sql_table" "myTestTable" {
3737 data_source_format = "DELTA"
3838
3939 column {
40- name = "timestamp"
41- type = "int"
40+ name = "timestamp"
41+ type = "int"
4242 }
4343}
4444
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ resource "databricks_sql_table" "myTestTable" {
3838 data_source_format = "DELTA"
3939
4040 column {
41- name = "timestamp"
42- type = "int"
41+ name = "timestamp"
42+ type = "int"
4343 }
4444}
4545
You can’t perform that action at this time.
0 commit comments