Open mathcantin opened 3 years ago
I realise this is on the borderline of a "me too" comment but I'll try and add some relevant information from what I concluded after just spending half an hour investigating around this.
azurerm_sql_server
resource but is available via azurerm_mssql_server
this is hinting that perhaps I chose the wrong server resource.azurerm_sql_server
last autumn.azurerm_mssql_server
was introduced (#6677) there's no information in the description or commit comments about why this is a new resource instead of updating the existing resource. Is there a discussion somewhere to undertstand the differences? (/cc @katbyte )terraform state mv
, path for migration from old to new would be nice to document if the old one is truly deprecated.
Community Note
Terraform (and AzureRM Provider) Version
Issue with the documentation with azurerm 2.40.0.
Affected Resource(s)
Expected Behaviour
This isn't a bug and I'm not sur I'm in the right place for that, but I think the documentation is confusing for theses resources. In one case we have a deprecation notice (azurerm_sql_elasticpool, but for every others resources we don't have deprecation.
In the most of cases, both manage the same resource in Azure, like azurerm_mssql_database and azurerm_sql_database who manage Microsoft.Sql/servers/myserver/databases/mydatabase.
And examples aren't good to help, like in the azurerm_mssql_database the example usage use azurerm_sql_server instead of azurerm_mssql_server.
Are there any depreciated resources? Why am I supposed to use one resource over another? Are there any bugs to fix in one version, but not in the other?
I believe the documentation would benefit from documenting the differences.