-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Internal] Generate both SdkV2-compatible and Plugin Framework-compatible structures #4332
Conversation
@@ -2289,7 +2289,7 @@ type ShareInfo struct { | |||
// A list of shared data objects within the share. | |||
Objects types.List `tfsdk:"object" tf:"optional"` | |||
// Username of current owner of share. | |||
Owner types.String `tfsdk:"owner" tf:"computed,optional"` | |||
Owner types.String `tfsdk:"owner" tf:"computed"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Owner types.String `tfsdk:"owner" tf:"computed"` | |
Owner types.String `tfsdk:"owner" tf:"computed,optional"` |
Only diff is in that databricks_share_pluginframework's |
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
Test Details: go/deco-tests/12416891035 |
Changes
To make it possible to implement new resources following the Plugin Framework's recommendation to use attributes while allowing resources to be migrated from SDKv2 to the Plugin Framework without breaking, we will create two copies of each code-generated structure in the Terraform provider. The structures with no suffix should be used for new resources. The structures with the
_SdkV2
suffix should be used for resources in the plugin framework that are migrated from SDKv2.Tests
make test
run locallydocs/
folderinternal/acceptance