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
Azure Synapse Linked Service error: produced an unexpected new value: Root resource was present, but now absent #17646
Comments
I am facing same issue, but just on another service:
|
Same here. Trying to create a link service from Synapse to a storage account with a private endpoint but getting the same error.
|
facing the same issue |
Facing the same issue.
`terraform { required_providers {
} |
facing the same issue:
`# Terraform Block backend "azurerm" {} } provider "azurerm" { |
Same Issue with the below config for azurerm_synapse_linked_service TERRAFORM_VERSION=1.1.4 |
We seem to have the same issue. We managed to set it up in Workspace UI, but not as Terraform Terraform v1.2.7 data "azurerm_key_vault_secret" "our_cosmos_conn" {
name = "our-cosmos-primary-conn"
key_vault_id = data.azurerm_key_vault.key_vault.id
}
resource "azurerm_synapse_linked_service" "cosmos" {
name = "our_cosmos_tf"
synapse_workspace_id = azurerm_synapse_workspace.dni_workspace.id
type = "Azure Cosmos DB (SQL API)"
type_properties_json = <<JSON
{
"connectionString": "${data.azurerm_key_vault_secret.our_cosmos_conn.value}Database=test-our-cosmos-sql"
}
JSON
} The output azurerm_synapse_linked_service.cosmos: Creating...
azurerm_synapse_linked_service.cosmos: Still creating... [10s elapsed]
azurerm_synapse_linked_service.cosmos: Still creating... [20s elapsed]
azurerm_synapse_linked_service.cosmos: Still creating... [30s elapsed]
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to azurerm_synapse_linked_service.cosmos, provider "provider[\"registry.terraform.io/hashicorp/azurerm\"]" produced an unexpected new
│ value: Root resource was present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
Releasing state lock. This may take a few moments... The database is in another subscription, but since other got the same error, this is not the issue? |
Facing the same issue when trying to create a linked service with an Azure SQL Database ...
Terraform version : 1.3.4 |
Hey all. This was a weird one to track down but it turns out the
That'll go out in 3.36.0 of the provider! Hope that helps unblock everyone here |
This functionality has been released in v3.36.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Is there an existing issue for this?
Community Note
I am trying to setup a PowerBI Synapse Link between Cosmos DB and a Synapse Workspace, terraform included below. I am creating an Azure Cosmos DB account and a Synapse Workspace then creating a
azurerm_synapse_linked_service
however on applying the configuration I am getting this error:It is possible that I have not configured the resource correctly but everything looks to be correct, it is also possible that this is either not the correct resource or what I am trying to setup is not supported
Terraform Version
1.2.4
AzureRM Provider Version
2.99.0
Affected Resource(s)/Data Source(s)
azurerm_synapse_linked_service
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
terraform should have completed without an error
Actual Behaviour
Get the following error when applying terraform
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: