feat(eventstream_destination_connection): add new fabric_eventstream_destination_connection data source and ephermal resource#936
Open
CatalinDabuleanu wants to merge 7 commits intomainfrom
Conversation
…ub.com/microsoft/terraform-provider-fabric into catalindabuleanu/eventstream_destination_connection
Changelog Previewv1.9.2-dev - April 20, 2026✨ Added
🪲 Fixed
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds support for reading Fabric Eventstream destination connection details via a new preview data source and ephemeral resource, including provider registration, docs/examples, and test fixtures used by unit/acceptance tests.
Changes:
- Introduces
fabric_eventstream_destination_connectionas a preview data source and ephemeral resource backed by the Fabric Eventstream Topology client. - Adds unit + acceptance tests, plus fake server handlers/fixtures for destination connection responses.
- Updates well-known test setup, examples, generated docs, and changelog entries.
Reviewed changes
Copilot reviewed 21 out of 21 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/scripts/Set-WellKnown.ps1 | Captures destination connection details into the well-known test data set. |
| internal/testhelp/fixtures/eventstream/eventstream.json.tmpl | Updates Eventstream topology fixture to include a CustomEndpoint destination. |
| internal/services/eventstreamdestinationconnection/base.go | Declares TF type metadata for the new item (preview). |
| internal/services/eventstreamdestinationconnection/models.go | Adds state models and mapping from SDK response into TF types. |
| internal/services/eventstreamdestinationconnection/data_evenstream_destination_connection.go | Implements the data source read flow and schema. |
| internal/services/eventstreamdestinationconnection/ephemeral_evenstream_destination_connection.go | Implements the ephemeral resource open flow and schema. |
| internal/services/eventstreamdestinationconnection/base_test.go | Exposes shared type info for tests. |
| internal/services/eventstreamdestinationconnection/fake_test.go | Adds fake responder + random entity generator for unit tests. |
| internal/services/eventstreamdestinationconnection/data_evenstream_destination_connection_test.go | Unit + acceptance tests for the data source. |
| internal/services/eventstreamdestinationconnection/ephemeral_evenstream_destination_connection_test.go | Unit + acceptance tests for the ephemeral resource. |
| internal/provider/provider.go | Registers the new data source and ephemeral resource in the provider. |
| examples/data-sources/fabric_eventstream_destination_connection/providers.tf | Data source example provider config. |
| examples/data-sources/fabric_eventstream_destination_connection/data-source.tf | Data source example usage. |
| examples/data-sources/fabric_eventstream_destination_connection/outputs.tf | Data source example output. |
| examples/ephemerals/fabric_eventstream_destination_connection/providers.tf | Ephemeral example provider config. |
| examples/ephemerals/fabric_eventstream_destination_connection/ephemeral.tf | Ephemeral example usage. |
| examples/ephemerals/fabric_eventstream_destination_connection/outputs.tf | Ephemeral example output. |
| docs/data-sources/eventstream_destination_connection.md | Generated docs for the new data source. |
| docs/ephemeral-resources/eventstream_destination_connection.md | Generated docs for the new ephemeral resource. |
| .changes/unreleased/added-20260416-100219.yaml | Changelog entry for the new data source. |
| .changes/unreleased/added-20260416-100247.yaml | Changelog entry for the new ephemeral resource. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
catalina-gav
approved these changes
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📥 Pull Request
❓ What are you trying to address
Added new ephermal resource and data source for
fabric_eventstream_destination_connectionThis closes #825 and #826