diff --git a/CHANGELOG.md b/CHANGELOG.md index 95fc8b215..c9bf9cf9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,10 +6,11 @@ nav_order: 1 # Changelog -- Deprecating `project_user`, `account_team` and `account_team_member resources` ## [5.0.0] - YYYY-MM-DD - Migrate `aiven_service_integration` to the Plugin Framework +- Deprecating `project_user`, `account_team` and `account_team_member resources` +- Fix incorrect read context in MySQL user resource ## [4.9.1] - 2023-10-03 diff --git a/internal/sdkprovider/service/mysql/mysql_user.go b/internal/sdkprovider/service/mysql/mysql_user.go index bab8ab3ae..c95334065 100644 --- a/internal/sdkprovider/service/mysql/mysql_user.go +++ b/internal/sdkprovider/service/mysql/mysql_user.go @@ -64,7 +64,7 @@ func ResourceMySQLUser() *schema.Resource { Description: "The MySQL User resource allows the creation and management of Aiven MySQL Users.", CreateContext: resourceMySQLUserCreate, UpdateContext: resourceMySQLUserUpdate, - ReadContext: schemautil.DatasourceServiceUserRead, + ReadContext: schemautil.ResourceServiceUserRead, DeleteContext: schemautil.ResourceServiceUserDelete, Importer: &schema.ResourceImporter{ StateContext: schema.ImportStatePassthroughContext,