From dffd94c2c9b33825e54f9b3125eda53bc5d2399e Mon Sep 17 00:00:00 2001 From: Murad Biashimov Date: Wed, 4 Oct 2023 14:40:03 +0300 Subject: [PATCH] fix(organization_user): serialize create_time to string (#1377) --- CHANGELOG.md | 4 +++- .../sdkprovider/service/organization/organization_user.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f961f2ec5..78a9186b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,9 @@ nav_order: 1 # Changelog -## [MAJOR.MINOR.PATCH] - YYYY-MM-DD +## [4.9.2] - 2023-10-04 + +- Fix `aiven_organization_user` created time serialization ## [4.9.1] - 2023-10-03 diff --git a/internal/sdkprovider/service/organization/organization_user.go b/internal/sdkprovider/service/organization/organization_user.go index 88b47f8eb..60e75f62f 100644 --- a/internal/sdkprovider/service/organization/organization_user.go +++ b/internal/sdkprovider/service/organization/organization_user.go @@ -140,7 +140,7 @@ func resourceOrganizationUserRead(ctx context.Context, d *schema.ResourceData, m if err := d.Set("user_email", userInfo.UserEmail); err != nil { return diag.FromErr(err) } - if err := d.Set("create_time", user.JoinTime); err != nil { + if err := d.Set("create_time", user.JoinTime.String()); err != nil { return diag.FromErr(err) }