-
Notifications
You must be signed in to change notification settings - Fork 425
[ISSUE] The databricks_group resource shouldn't allow you to specify system groups #1089
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
Comments
why do you want to use |
I was trying to creating a mapping from external users to Databricks which allowed arbitrary input. In my testing -- not knowing that |
@Xophmeister #1088 won't fix. though #1091 should fix this issue. |
# Version changelog ## 0.4.9 * Prevent creation of `databricks_group` with `users` and `admins` reserved names ([#1089](#1089)). * Added support for shared clusters in multi-task `databricks_job` ([#1082](#1082)). * Added diff suppression for `external_id` in `databricks_group` ([#1099](#1099)). * Added diff suppression for `external_id` in `databricks_user` ([#1097](#1097)). * Added `users`, `service_principals`, and `child_groups` exported properties to `databricks_group` data resource ([#1085](#1085)). * Added various documentation improvements.
* Release v0.4.9 # Version changelog ## 0.4.9 * Prevent creation of `databricks_group` with `users` and `admins` reserved names ([#1089](#1089)). * Added support for shared clusters in multi-task `databricks_job` ([#1082](#1082)). * Added diff suppression for `external_id` in `databricks_group` ([#1099](#1099)). * Added diff suppression for `external_id` in `databricks_user` ([#1097](#1097)). * Added `users`, `service_principals`, and `child_groups` exported properties to `databricks_group` data resource ([#1085](#1085)). * Added various documentation improvements.
* Release v0.4.9 # Version changelog ## 0.4.9 * Prevent creation of `databricks_group` with `users` and `admins` reserved names ([databricks#1089](databricks#1089)). * Added support for shared clusters in multi-task `databricks_job` ([databricks#1082](databricks#1082)). * Added diff suppression for `external_id` in `databricks_group` ([databricks#1099](databricks#1099)). * Added diff suppression for `external_id` in `databricks_user` ([databricks#1097](databricks#1097)). * Added `users`, `service_principals`, and `child_groups` exported properties to `databricks_group` data resource ([databricks#1085](databricks#1085)). * Added various documentation improvements.
Configuration
In v0.4.7 of the provider, the
databricks_group
resource has theforce
argument. This allows you to do, for example:Expected Behavior
The provider should forbid this.
Actual Behavior
This works fine and it will even reflect new argument values to the group (e.g.,
allow_cluster_create
, etc.). The problem comes when you try to destroy this resource: The Databricks API forbids this and soterraform destroy
will fail.Steps to Reproduce
terraform apply
terraform destroy
Terraform and provider versions
The text was updated successfully, but these errors were encountered: