Open tsfto opened 1 year ago
Since late 2022 the version of the Go SDK used by azurerm_mssql_managed_instance
has supported supplying SystemAssigned,UserAssigned
into IdentityType
this should now be unblocked.
Since late 2022 the version of the Go SDK used by
azurerm_mssql_managed_instance
has supported supplyingSystemAssigned,UserAssigned
intoIdentityType
this should now be unblocked.
No that is not working expected identity.0.type to be one of ["UserAssigned" "SystemAssigned"], got SystemAssigned,UserAssigned
Is there an existing issue for this?
Community Note
Description
The azurerm_mssql_managed_instance (azurerm_mssql_managed_instance) identity.type accepts either SystemAssigned OR UserAssigned values but NOT both at the same time. I would expect it to accept both managed identity types in a form of identity.type = SystemAssigned, UserAssigned so that both of them are created simultaneously for a particular instance of Azure SQL Server. I want to be able to create a SQL Server instance with the following managed identities:
0..1 System Assigned Managed Identity 0..n User Assigned Managed Identities
This is the same as Support for both SystemAssigned and UserAssigned managed identities in azurerm_mssql_server, but for SQL MI
New or Affected Resource(s)/Data Source(s)
azurerm_mssql_managed_instance
Potential Terraform Configuration
References
https://github.com/hashicorp/terraform-provider-azurerm/issues/17199