You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Documentation] Update CONTRIBUTING guidelines for migrating resource to plugin framework (#5121)
## Changes
<!-- Summary of your changes that are easy to understand -->
Add best practices with examples for migrating resources to plugin
framework.
## Tests
<!--
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->
N/A
// Step 2: Update the resource using plugin framework implementation
242
+
acceptance.Step{
243
+
Template: `
244
+
resource "databricks_some_resource" "this" {
245
+
name = "abc"
246
+
}
247
+
`
248
+
},
249
+
250
+
)
251
+
}
252
+
```
253
+
181
254
### Code Organization
182
255
Each resource and data source should be defined in package `internal/providers/plugnifw/products/<resource>`, e.g.: `internal/providers/plugnifw/products/volume` package will contain both resource, data sources and other utils specific to volumes. Tests (both unit and integration tests) will also remain in this package.
Copy file name to clipboardExpand all lines: NEXT_CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@
15
15
* Document `table_update` trigger in `databricks_job` resource ([#5107](https://github.com/databricks/terraform-provider-databricks/pull/5107))
16
16
* Document new attributes in `databricks_app` resource and data sources ([#5108](https://github.com/databricks/terraform-provider-databricks/pull/5108))
17
17
* Document `git_email` in `databricks_git_credential` resource ([#5099](https://github.com/databricks/terraform-provider-databricks/pull/5099))
18
+
* Update `CONTRIBUTING` guidelines for migrating resources to plugin framework ([#5121](https://github.com/databricks/terraform-provider-databricks/pull/5121))
0 commit comments