Skip to content
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

[FEATURE] Support for shared job clusters in multi-task jobs #1082

Closed
1 task
cbcoutinho opened this issue Feb 2, 2022 · 1 comment · Fixed by #1098
Closed
1 task

[FEATURE] Support for shared job clusters in multi-task jobs #1082

cbcoutinho opened this issue Feb 2, 2022 · 1 comment · Fixed by #1098
Labels
feature New feature or request

Comments

@cbcoutinho
Copy link

Affected Resource(s)

Databricks jobs: https://registry.terraform.io/providers/databrickslabs/databricks/latest/docs/resources/job

Expected Details

The documentation only mentions using interactive clusters for shared clusters; however those are not the same as job clusters. Via the Databricks UI it's possible to select a single cluster for multiple tasks, but the provider and/or documentation do not distinguish between the two

List of things to potentially add/remove:

This is a list of things to manipulate in the docs:

  • Mention shared job clusters and how to use them

Important Factoids

This is the most recent blog post on the Job API updates that mention shared job clusters. Looking at the publish date, this may have been just released. That may explain why it's not mentioned in the docs.

https://docs.databricks.com/data-engineering/jobs/jobs-api-updates.html

References

Databricks TF provider docs mentioning existing_cluster_id: https://registry.terraform.io/providers/databrickslabs/databricks/latest/docs/resources/job
Databricks docs regarding shared job clusters: https://docs.microsoft.com/en-us/azure/databricks/jobs#use-shared-job-clusters

@nfx nfx changed the title [DOC] Unclear how to use shared job clusters in multi-task jobs [FEATURE] Support for shared job clusters in multi-task jobs Feb 2, 2022
@nfx nfx added the feature New feature or request label Feb 2, 2022
@nfx
Copy link
Contributor

nfx commented Feb 2, 2022

@cbcoutinho this feature is not yet implemented in provider

@nfx nfx closed this as completed in #1098 Feb 10, 2022
nfx added a commit that referenced this issue Feb 11, 2022
# 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.
@nfx nfx mentioned this issue Feb 11, 2022
nfx added a commit that referenced this issue Feb 11, 2022
* 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.
michael-berk pushed a commit to michael-berk/terraform-provider-databricks that referenced this issue Feb 15, 2023
* 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants