Skip to content

Conversation

liquizz
Copy link
Contributor

@liquizz liquizz commented Dec 16, 2024

Description
This PR addresses the use of deprecated Azure resource names in the Azure database provider. The following updates have been made to align with the current resource naming standards:

Updated azurerm_sql_server to azurerm_mssql_server Updated azurerm_sql_database to azurerm_mssql_database Updated azurerm_sql_firewall_rule to azurerm_mssql_firewall_rule

Motivation
The existing resource names (azurerm_sql_) are deprecated in favor of azurerm_mssql_. This fix ensures compatibility with the latest Terraform provider updates and avoids the usage of deprecated resource names. This fix addresses the following problems:

panic: unknown resource type azurerm_sql_server
panic: unknown resource type azurerm_sql_database
panic: unknown resource type azurerm_sql_firewall_rule

Changes Made
Refactored resource names in createSQLServerResources, createSQLDatabaseResources, and createSQLFirewallRuleResources functions.

Description
This PR addresses the use of deprecated Azure resource names in the Azure database provider. The following updates have been made to align with the current resource naming standards:

Updated azurerm_sql_server to azurerm_mssql_server
Updated azurerm_sql_database to azurerm_mssql_database
Updated azurerm_sql_firewall_rule to azurerm_mssql_firewall_rule

Motivation
The existing resource names (azurerm_sql_) are deprecated in favor of azurerm_mssql_. This fix ensures compatibility with the latest Terraform provider updates and avoids the usage of deprecated resource names. This fix addresses the following problems:

panic: unknown resource type azurerm_sql_server
panic: unknown resource type azurerm_sql_database
panic: unknown resource type azurerm_sql_firewall_rule
Changes Made
Refactored resource names in createSQLServerResources, createSQLDatabaseResources, and createSQLFirewallRuleResources functions.
@github-actions github-actions bot added the Stale label Feb 19, 2025
@sergeylanzman sergeylanzman reopened this Mar 26, 2025
@sergeylanzman sergeylanzman merged commit e74c600 into GoogleCloudPlatform:master Mar 26, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants