You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation suggests that removing the virtual_network_configuration block from the aurerm_kusto_cluster resource definition will set virtual network injection to a disabled state by default which appears to be happening. It also suggests that it shouldn't force the resource to be replaced if the state is being switched from enabled to disabled
Actual Behavior
Removing the virtual_network_configuration block from the aurerm_kusto_cluster resource definition and changing the state of virtual network injection from enabled to disabled is causing the Kusto cluster resource to be replaced.
Steps to Reproduce
Deploy azurerm_kusto_cluster resource with virtual_network_configuration block defined
Remove virtual_network_configuration block
Run terraform plan
Additional Context
Azure will no longer provide support for virtual network injection on Azure Data Explorer clusters from February 2025 so it is necessary to migrate to a private endpoint configuration see here.
This is a prerequisite step for the migration and we cannot allow our existing cluster to be destroyed in the process.
References
No response
The text was updated successfully, but these errors were encountered:
This appears to be an issue or question with the AzureRM provider, not with Terraform itself. You can see existing issues and file a new one in their repository here: https://github.com/terraform-providers/terraform-provider-azurerm/issues. If you have questions about Terraform or the AzureRM provider, it's better to use the community forum where there are more people ready to help. The GitHub issues here are monitored only by a few core maintainers.
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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Terraform Version
Terraform Configuration Files
Debug Output
Expected Behavior
The documentation suggests that removing the
virtual_network_configuration
block from theaurerm_kusto_cluster
resource definition will set virtual network injection to adisabled
state by default which appears to be happening. It also suggests that it shouldn't force the resource to be replaced if the state is being switched fromenabled
todisabled
Actual Behavior
Removing the
virtual_network_configuration
block from theaurerm_kusto_cluster
resource definition and changing the state of virtual network injection fromenabled
todisabled
is causing the Kusto cluster resource to be replaced.Steps to Reproduce
azurerm_kusto_cluster
resource with virtual_network_configuration block definedAdditional Context
Azure will no longer provide support for virtual network injection on Azure Data Explorer clusters from February 2025 so it is necessary to migrate to a private endpoint configuration see here.
This is a prerequisite step for the migration and we cannot allow our existing cluster to be destroyed in the process.
References
No response
The text was updated successfully, but these errors were encountered: