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] Add databricks_notification_destination data source #3950

Closed
mgyucht opened this issue Aug 27, 2024 · 3 comments
Closed

[FEATURE] Add databricks_notification_destination data source #3950

mgyucht opened this issue Aug 27, 2024 · 3 comments
Labels
feature New feature or request good first issue this is something simple that can help started with provider development

Comments

@mgyucht
Copy link
Contributor

mgyucht commented Aug 27, 2024

Use-cases

For users who want to make use of notification destinations that are created out-of-band or in other terraform templates, it would be convenient to add a data source for notification destinations. This would be useful in DABs for example, where notification destinations may be configured once by a workspace admin, and then used by many users in their various jobs or pipelines.

Attempted Solutions

Proposal

data databricks_notification_destinations {} # Lists all notification destinations

data databricks_notification_destinations {
  display_name = "..."
  type = "..."
}

References

@mgyucht mgyucht added the feature New feature or request label Aug 27, 2024
@alexott alexott added the good first issue this is something simple that can help started with provider development label Aug 27, 2024
@VOVELEE
Copy link
Contributor

VOVELEE commented Aug 28, 2024

Hey,

the APIs are finally released: https://docs.databricks.com/api/azure/workspace/notificationdestinations/create
I am also interested in this :)

dgomez04 added a commit to dgomez04/terraform-provider-databricks that referenced this issue Oct 3, 2024
dgomez04 added a commit to dgomez04/terraform-provider-databricks that referenced this issue Oct 3, 2024
dgomez04 added a commit to dgomez04/terraform-provider-databricks that referenced this issue Oct 8, 2024
dgomez04 added a commit to dgomez04/terraform-provider-databricks that referenced this issue Oct 9, 2024
dgomez04 added a commit to dgomez04/terraform-provider-databricks that referenced this issue Oct 9, 2024
dgomez04 added a commit to dgomez04/terraform-provider-databricks that referenced this issue Oct 14, 2024
dgomez04 added a commit to dgomez04/terraform-provider-databricks that referenced this issue Oct 14, 2024
dgomez04 added a commit to dgomez04/terraform-provider-databricks that referenced this issue Oct 15, 2024
…nsitive, and returns a list if no matches are found.
dgomez04 added a commit to dgomez04/terraform-provider-databricks that referenced this issue Oct 16, 2024
github-merge-queue bot pushed a commit that referenced this issue Oct 17, 2024
## Changes
<!-- Summary of your changes that are easy to understand -->
Added `databricks_notification_destinations` data source as requested in
#3950 to retrieve notification destinations that are created out-of-band
or in other terraform templates.
## Tests
<!-- 
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->

- [x] `make test` run locally
- [x] relevant change in `docs/` folder
- [x] covered with integration tests in `internal/acceptance`
- [x] relevant acceptance tests are passing
- [x] using Go SDK

---------

Co-authored-by: Alex Ott <[email protected]>
@dgomez04
Copy link
Contributor

@mgyucht closed by #4087

@alexott
Copy link
Contributor

alexott commented Oct 18, 2024

Fixed in #4087

@alexott alexott closed this as completed Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue this is something simple that can help started with provider development
Projects
None yet
Development

No branches or pull requests

4 participants