Open alexarwady opened 1 year ago
Any progress on this?
Hi @alexarwady ,
Thank you for taking time to report this issue.
The definition of the PowerBIWorkspace
is missing in the api-version that azurerm currently uses. I've created an issue to track it: https://github.com/Azure/azure-rest-api-specs/issues/22796
Hi all,
Here's the config that uses azapi
provider to manage this data-plane resource, hope it could help you.
resource "azapi_data_plane_resource" "test" {
type = "Microsoft.Synapse/workspaces/linkedServices@2020-12-01"
parent_id = "henglu01.dev.azuresynapse.net"
name = "myLinkedService"
body = {
type = "PowerBIWorkspace"
typeProperties = {
workspaceID = "00000000-000"
tenantID = "00000000-000"
}
annotations = ["test1", "test2"]
description = "This is a linked service to a Power BI workspace"
parameters = {
parameter1 = "value1"
parameter2 = "value2"
}
connectVia = {
referenceName = "myIntegrationRuntime"
type = "IntegrationRuntimeReference"
}
}
}
Is there an existing issue for this?
Community Note
Terraform Version
1.3.7
AzureRM Provider Version
3.38.0
Affected Resource(s)/Data Source(s)
azurerm_synapse_linked_service
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Created a PowerBI linked service in Azure Synapse without giving an error.
Actual Behaviour
Gave an error.
Steps to Reproduce
terraform apply
Important Factoids
No response
References
According to: https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/linked-service/create-or-update-linked-service?tabs=HTTP#powerbiworkspacelinkedservice, we should be able to create a PowerBI linked service in Azure Synapse with type string PowerBIWorkspace.