Skip to content

Commit 3f8d917

Browse files
authored
Update resource docs on imports (#1160)
1 parent c8a4813 commit 3f8d917

25 files changed

+85
-22
lines changed

docs/resources/library.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ resource "databricks_library" "rkeops" {
110110
}
111111
```
112112

113+
## Import
114+
115+
-> **Note** Importing this resource is not currently supported.
116+
113117
## Related Resources
114118

115119
The following resources are often used in the same context:

docs/resources/metastore_assignment.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,3 @@ The following arguments are required:
3030
* `metastore_id` - Unique identifier of the parent Metastore
3131
* `workspace_id` - id of the workspace for the assignment
3232
* `default_catalog_name` - (Optional) Default catalog used for this assignment, default to `hive_metastore`
33-
34-
## Import
35-
36-
This resource can be imported by ID:
37-
38-
```bash
39-
$ terraform import databricks_metastore_assignment.this <id>
40-
```

docs/resources/metastore_data_access.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,4 @@ The following arguments are required:
4444

4545
## Import
4646

47-
This resource can be imported by ID:
48-
49-
```bash
50-
$ terraform import databricks_metastore_data_access.this <id>
51-
```
47+
-> **Note** Importing this resource is not currently supported.

docs/resources/mlflow_model.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ The following arguments are supported:
3232
* `description` - The description of the MLflow model.
3333
* `tags` - Tags for the MLflow model.
3434

35+
## Import
36+
37+
The model resource can be imported using the name
38+
39+
```bash
40+
$ terraform import databricks_mlflow_model.this <name>
41+
```
42+
3543
## Access Control
3644

3745
* [databricks_permissions](permissions.md#MLflow-Model-usage) can control which groups or individual users can *Read*, *Edit*, *Manage Staging Versions*, *Manage Production Versions*, and *Manage* individual models.

docs/resources/mlflow_webhook.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ resource "databricks_mlflow_webhook" "url" {
7272
}
7373
```
7474

75-
7675
## Argument Reference
7776

7877
The following arguments are supported:
@@ -97,6 +96,10 @@ Configuration must include one of `http_url_spec` or `job_spec` blocks, but not
9796
* `enable_ssl_verification` - (Optional) Enable/disable SSL certificate validation. Default is `true`. For self-signed certificates, this field must be `false` AND the destination server must disable certificate validation as well. For security purposes, it is encouraged to perform secret validation with the HMAC-encoded portion of the payload and acknowledge the risk associated with disabling hostname validation whereby it becomes more likely that requests can be maliciously routed to an unintended host.
9897
* `secret` - (Optional) Shared secret required for HMAC encoding payload. The HMAC-encoded payload will be sent in the header as `X-Databricks-Signature: encoded_payload`.
9998

99+
## Import
100+
101+
-> **Note** Importing this resource is not currently supported.
102+
100103
## Access Control
101104

102105
* MLflow webhooks could be configured only by workspace admins.

docs/resources/mount.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,10 @@ In addition to all arguments above, the following attributes are exported:
330330
* `id` - mount name
331331
* `source` - (String) HDFS-compatible url
332332

333+
## Import
334+
335+
-> **Note** Importing this resource is not currently supported.
336+
333337
## Related Resources
334338

335339
The following resources are often used in the same context:

docs/resources/mws_credentials.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ In addition to all arguments above, the following attributes are exported:
6262
* `creation_time` - (Integer) time of credentials registration
6363
* `credentials_id` - (String) identifier of credentials
6464

65+
## Import
66+
67+
-> **Note** Importing this resource is not currently supported.
68+
6569
## Related Resources
6670

6771
The following resources are used in the same context:

docs/resources/mws_customer_managed_keys.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,10 @@ In addition to all arguments above, the following attributes are exported:
200200
* `customer_managed_key_id` - (String) ID of the encryption key configuration object.
201201
* `creation_time` - (Integer) Time in epoch milliseconds when the customer key was created.
202202

203+
## Import
204+
205+
-> **Note** Importing this resource is not currently supported.
206+
203207
## Related Resources
204208

205209
The following resources are used in the same context:

docs/resources/mws_log_delivery.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,7 @@ Resource exports the following attributes:
142142

143143
## Import
144144

145-
This resource can be imported by specifying a combination of an account id and log config id separated by `|`:
146-
147-
```bash
148-
$ terraform import databricks_mws_log_delivery.usage "<account-id>|<log-config-id>"
149-
```
145+
-> **Note** Importing this resource is not currently supported.
150146

151147
## Related Resources
152148

docs/resources/mws_networks.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ In addition to all arguments above, the following attributes are exported:
111111
* `vpc_status` - (String) VPC attachment status
112112
* `workspace_id` - (Integer) id of associated workspace
113113

114+
## Import
115+
116+
-> **Note** Importing this resource is not currently supported.
117+
114118
## Related Resources
115119

116120
The following resources are used in the same context:

0 commit comments

Comments
 (0)