-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
azurerm_mysql_*
- deprecate Mysql Single Server and its sub resources
#25187
azurerm_mysql_*
- deprecate Mysql Single Server and its sub resources
#25187
Conversation
azurerm_mysql_server
- deprecate this resourceazurerm_mysql_*
- deprecate Mysql Single Server
azurerm_mysql_*
- deprecate Mysql Single Serverazurerm_mysql_*
- deprecate Mysql Single Server and its sub resources
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @neil-yechenwei. I left a suggestion on the phrasing of the deprecation message, could you please apply those changes to the rest of the deprecation messages?
@@ -25,6 +25,9 @@ func resourceMySQLAdministrator() *pluginsdk.Resource { | |||
Read: resourceMySQLAdministratorRead, | |||
Update: resourceMySQLAdministratorCreateUpdate, | |||
Delete: resourceMySQLAdministratorDelete, | |||
|
|||
DeprecationMessage: "The `azurerm_mysql_active_directory_administrator` resource will be deprecated since Azure Database for MySQL - Single Server and its sub resources are scheduled for retirement (https://go.microsoft.com/fwlink/?linkid=2216041) by September 16, 2024 and they migrate (https://go.microsoft.com/fwlink/?linkid=2202255) to Azure Database for MySQL - Flexible Server and its sub resources now. Please use the `azurerm_mysql_flexible_server_active_directory_administrator` resource instead.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DeprecationMessage: "The `azurerm_mysql_active_directory_administrator` resource will be deprecated since Azure Database for MySQL - Single Server and its sub resources are scheduled for retirement (https://go.microsoft.com/fwlink/?linkid=2216041) by September 16, 2024 and they migrate (https://go.microsoft.com/fwlink/?linkid=2202255) to Azure Database for MySQL - Flexible Server and its sub resources now. Please use the `azurerm_mysql_flexible_server_active_directory_administrator` resource instead.", | |
DeprecationMessage: "Azure Database for MySQL Single Server and its sub resources are scheduled for retirement by 2024-09-16 and will migrate to using Azure Database for MySQL Flexible Server: https://go.microsoft.com/fwlink/?linkid=2216041. The `azurerm_mysql_active_directory_administrator` resource is deprecated and will be removed in v4.0 of the AzureRM Provider. Please use the `azurerm_mysql_flexible_server_active_directory_administrator` resource instead.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
@@ -24,6 +24,8 @@ func resourceMySQLConfiguration() *pluginsdk.Resource { | |||
Read: resourceMySQLConfigurationRead, | |||
Delete: resourceMySQLConfigurationDelete, | |||
|
|||
DeprecationMessage: "The `azurerm_mysql_configuration` resource will be deprecated since Azure Database for MySQL - Single Server and its sub resources are scheduled for retirement (https://go.microsoft.com/fwlink/?linkid=2216041) by September 16, 2024 and they migrate (https://go.microsoft.com/fwlink/?linkid=2202255) to Azure Database for MySQL - Flexible Server and its sub resources now. Please use the `azurerm_mysql_flexible_server_configuration` resource instead.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please apply the suggestion made above to all of the deprecation messages in this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to all.
@stephybun , thanks for the comments. I updated PR. Please take another look. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @neil-yechenwei LGTM 👍
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Service team is reaching us to add this warning for deprecating Mysql Single Server and its sub resources.