Skip to content

Commit 956dd4f

Browse files
authored
[Doc] Add import instructions for databricks_share and databricks_recipient (#4608)
## Changes - Add import instructions ## Tests <!-- How is this tested? Please see the checklist below and also describe any other relevant tests --> - [x] relevant change in `docs/` folder
1 parent 982b5cb commit 956dd4f

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

NEXT_CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
### Documentation
1010

11+
* Add import instructions for `databricks_share` and `databricks_recipient` ([#4608](https://github.com/databricks/terraform-provider-databricks/pull/4608))
12+
1113
### Exporter
1214

1315
### Internal Changes

docs/resources/recipient.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,14 @@ In addition to all arguments above, the following attributes are exported:
115115
* `cloud` - Cloud vendor of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is `DATABRICKS`.
116116
* `region` - Cloud region of the recipient's Unity Catalog Metstore. This field is only present when the authentication_type is `DATABRICKS`.
117117

118+
## Import
119+
120+
The recipient resource can be imported using the name of the recipient.
121+
122+
```bash
123+
terraform import databricks_recipient.this <recipient_name>
124+
```
125+
118126
## Related Resources
119127

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

docs/resources/share.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,14 @@ In addition to all arguments above, the following attributes are exported:
113113
* `created_by` - The principal that created the share.
114114
* `status` - Status of the object, one of: `ACTIVE`, `PERMISSION_DENIED`.
115115

116+
## Import
117+
118+
The share resource can be imported using the name of the share.
119+
120+
```bash
121+
terraform import databricks_share.this <share_name>
122+
```
123+
116124
## Related Resources
117125

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

0 commit comments

Comments
 (0)