Skip to content

Commit

Permalink
fix(mysql): use correct read context fn
Browse files Browse the repository at this point in the history
  • Loading branch information
Serpentiel committed Oct 23, 2023
1 parent 70ba3fd commit 9ce04b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion internal/sdkprovider/service/mysql/mysql_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9ce04b0

Please sign in to comment.