-
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 models with correctly computed annotations #4316
Conversation
f266d69
to
f937d0b
Compare
f937d0b
to
86e7b5a
Compare
86e7b5a
to
142688e
Compare
6fc5a49
to
4255937
Compare
Test Details: go/deco-tests/12314865729 |
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.
LGTM, one question.
// The deployment artifacts for an app. | ||
DeploymentArtifacts types.Object `tfsdk:"deployment_artifacts" tf:"optional,object"` | ||
DeploymentArtifacts types.Object `tfsdk:"deployment_artifacts" tf:"computed,object"` |
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.
This was optional before but now is computed non-optional. Is that expected?
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. |
### New Features and Improvements * Allow to use GCP SA in `databricks_credential` (storage only) ([#4302](#4302)). ### Bug Fixes * Bump Golang x/crypto to 0.31 ([#4319](#4319)). ### Internal Changes * Generate models with correctly computed annotations ([#4316](#4316)). * Update Go SDK to 0.54.0 ([#4328](#4328)). ### Dependency Updates * Bump github.com/hashicorp/terraform-plugin-framework-validators from 0.15.0 to 0.16.0 ([#4320](#4320)). ### Exporter * Correctly handle DB-managed UC objects ([#4323](#4323)). * Emit WSFS/UC files from `parameters` in the jobs ([#4318](#4318)). * Improve support of `databricks_model_serving` ([#4324](#4324)). * add support for `databricks_credential` ([#4292](#4292)). * export `databricks_repo` for Git Folders outside of `/Repos` ([#4308](#4308)).
* Allow to use GCP SA in `databricks_credential` (storage only) ([#4302](#4302)). * Bump Golang x/crypto to 0.31 ([#4319](#4319)). * Generate models with correctly computed annotations ([#4316](#4316)). * Update Go SDK to 0.54.0 ([#4328](#4328)). * Bump github.com/hashicorp/terraform-plugin-framework-validators from 0.15.0 to 0.16.0 ([#4320](#4320)). * Correctly handle DB-managed UC objects ([#4323](#4323)). * Emit WSFS/UC files from `parameters` in the jobs ([#4318](#4318)). * Improve support of `databricks_model_serving` ([#4324](#4324)). * add support for `databricks_credential` ([#4292](#4292)). * export `databricks_repo` for Git Folders outside of `/Repos` ([#4308](#4308)).
### New Features and Improvements * Allow to use GCP SA in `databricks_credential` (storage only) ([#4302](#4302)). * Support for databricks_credential in databricks_workspace_binding ### Bug Fixes * Bump Golang x/crypto to 0.31 ([#4319](#4319)). ### Internal Changes * Generate models with correctly computed annotations ([#4316](#4316)). * Update Go SDK to 0.54.0 ([#4328](#4328)). ### Dependency Updates * Bump github.com/hashicorp/terraform-plugin-framework-validators from 0.15.0 to 0.16.0 ([#4320](#4320)). ### Exporter * Correctly handle DB-managed UC objects ([#4323](#4323)). * Emit WSFS/UC files from `parameters` in the jobs ([#4318](#4318)). * Improve support of `databricks_model_serving` ([#4324](#4324)). * add support for `databricks_credential` ([#4292](#4292)). * export `databricks_repo` for Git Folders outside of `/Repos` ([#4308](#4308)).
Changes
In this PR, we've tackled an issue with our plugin framework models. Previously, fields that were meant to be computed were mistakenly generated with "computed,optional" annotations instead of just "computed."
Also, if any fields were indicated as having effective values, the effective fields also ended up with the wrong "computed,optional" tag rather than the correct "computed." We've regenerated the models to correct these annotations.
Tests
make test
run locallydocs/
folderinternal/acceptance