Open
Description
📝 Description
When creating a fabric_workspace_git resource using GitHub as a type, I need to specify a connection_id in the git_credentials attributes.
I would like to be able to manage Fabric connections via Terraform so I could reference them in this block.
This could be extended to any connections that we can create through the Fabric Portal, not just GitHub.
🔬 Details / References
-
Data Source Name:
fabric_connection
-
API documentation:
-
Estimated complexity/effort: easy
-
Related resources/data-sources: fabric_connection (see Issue 487)
🚧 Potential Terraform Configuration / Desired Solution
data "fabric_connection" "example" {
name = "example"
}
📎 Additional context
No response
☑️ Acceptance Criteria
The data source must retrieve the connection as described in the data source and return the connection details, including at least the id
of the connection.
✅ Definition of Done
- Data Transfer Objects (DTOs)
- Data-Source Implementation
- Data-Source Added to Provider
- Unit Tests for Happy path
- Unit Tests for Error path
- Acceptance Tests
- Example in the ./examples folder
- Schema documentation in code
- Updated auto-generated provider docs with
task docs
🔰 Code of Conduct
- I agree to follow this project's Code of Conduct.