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
- Resource Name:
fabric_connection
- API documentation:
- Estimated complexity/effort: moderate
- Related resources/data-sources: n/a
π§ Potential Terraform Configuration / Desired Solution
resource "fabric_connection" "example" {
name = "example"
connectivity_type = "connectivityType"
privacyLevel = "Organizational"
connectionDetails = {
type = "SQL"
creationMethod = "SQL"
parameters = [
{
dataType = "Text"
name = "server"
value = "contoso.database.windows.net"
},
{
dataType = "Text"
name = "database"
value = "sales"
}
]
}
credentialDetails = {
singleSignOnType = "None"
connectionEncryption = "NotEncrypted"
skipTestConnection = false
credentials = {
credentialType = "Basic"
username = "admin"
password = "********"
}
}
}
π Additional context
No response
βοΈ Acceptance Criteria
The resource must create the connection as specified
β Definition of Done
- Data Transfer Objects (DTOs)
- Resource Implementation
- Resource 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.