-
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
[ISSUE] Provider wants to redeploy databricks_permissions
when importing it
#3882
Comments
Technically it's correct - when we import a resource, we don't have One workaround would be instead of:
use
|
According to the documentation, permissions on directories should be defined using the But still, I don't get it since I'm providing the To me the issue looks similar to #3856, where the provider wasn't setting missing id's when importing the resources. |
We're not doing such remapping - you can either use |
Clarify that permissions on workspace objects (directories/files/notebooks) could be set either by path or by the object ID, and the import will use only object ID. This should help with issues like #3882
## Changes <!-- Summary of your changes that are easy to understand --> Clarify that permissions on workspace objects (directories/files/notebooks) could be set either by path or by the object ID, and the import will use only object ID. This should help with issues like #3882 ## Tests <!-- How is this tested? Please see the checklist below and also describe any other relevant tests --> - [ ] `make test` run locally - [x] relevant change in `docs/` folder - [ ] covered with integration tests in `internal/acceptance` - [ ] relevant acceptance tests are passing - [ ] using Go SDK
Configuration
Expected Behavior
The provider imports both the
databricks_directory
and thedatabricks_permissions
resources, which match the existing resources's configuration.Actual Behavior
The provider is able to import the
databricks_directory
resources with no problem, but plans to redeploy thedatabricks_permissions
due to a claimed change in thedirectory_id
and thedirectory_path
.Steps to Reproduce
terraform apply
Terraform and provider versions
Is it a regression?
It didn't work with provider version 1.44.0 either.
Debug Output
Important Factoids
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: